Skip to main content

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


Technote (FAQ)


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==


Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

InfoSphere Information Server


Software version:
8.5, 8.7


Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows


Reference #:
1608299


Modified date:
2012-11-18

Translate my page

Content navigation