Because credentials from Rational ClearQuest user accounts are
passed to the Report Server for ClearQuest, it is good practice to encrypt
passwords. Blank passwords are not supported.
About this task
To encrypt a password:
- Navigate to the /RCQR/server/WebSphere/classes directory.
- Start the Java runtime to load the com.ibm.rational.security.PasswordCrypt
class and encrypt the password.
The syntax for the command
is:
Usage: java -classpath cqregistry.jar com.ibm.rational.security.PasswordCrypt [-options] [password]
where options include:
-? -help print this help message
-genkey generate a new key
-encrypt encrypt the given password (in clear text)
-decrypt decrypt the given password (encoded in hexadecimal)
Your command line should be similar to the
following, where
admin is given as the password to encrypt.
For Windows:
%RATIONAL_COMMON%/JAVA5.0/jre/bin/java -classpath cqregistry.jar com.ibm.rational.security.PasswordCrypt -encrypt admin
For Linux and UNIX platforms the command is located in the directory /opt/rational/common/java/jre/bin.
- The encrypted password is displayed in the console. For example:
'admin' is encrypted to '07d779388fa00cf2e422a7b3b1d26e6c'
- Record or note the encrypted password for future use. You will
need it in a later step in the configuration process.