IBM Support

How can we use an encrypted password with Information Server ISDAdmin.sh

Question & Answer


Question

We are trying to use the script encrypt.sh located in ../ASBNode/bin to encrypt the password to use in ISDadmin.sh and we are receiving an error: We use the following steps to encrypt the password /opt/IBM/ASBNode/bin>encrypt.sh Enter the text to encrypt: Enter the text again to confirm: {iisenc}2qskmrMVgGXdsdcbgLc2hQ== Then when we run the script with the encrypted we see the following. /opt/IBM/ASBNode/bin>ISDAdmin.sh -action disable -ur isduser -pw {iisenc}2qskmrMVgGXdsdcbgLc2hQ== -application MyApp Error Exception in thread "P=906680:O=0:CT" java.lang.NullPointerException at com.ibm.is.isd.tools.admin.RunTimeEnableDisableTask.processCommand (RunTimeEnableDisableTask.java:436) at com.ibm.is.isd.tools.admin.ISDAdmin.processArgs(ISDAdmin.java:76) at com.ibm.is.isd.tools.admin.ISDAdmin.main(ISDAdmin.java:120)

Answer

The best way to do this is to simply use an authorization file

This is the command for using the authorization file.
ISDAdmin.sh -action deploy -authfile
/home/dsadm/dsadmcredential.txt -p MyProject -a MyApp

here's what authorization file dsadmcredential.txt looks like

# dsadm credentials
user=isduser
password={iisenc}wFFjdkpR7NGbbD93AUC2Ag==

[{"Product":{"code":"SSZJPZ","label":"IBM InfoSphere Information Server"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.7;8.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21608299