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.
Procedure
- 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 'dfce3c5374d10c3506d158b5ce7c7039'
- Record or note the encrypted password for future use. You
will need it in a later step in the configuration process.