Encrypting passwords (optional)
How to encrypt passwords required by the installation and upgrade process
About this task
Before you start the installation process, you can optionally encrypt the passwords you will use while installing, upgrading, and managing HCL Workload Automation. The encryption mechanism is based on your WebSphere Application Server Liberty Base installation. You can use either the {xor} or {aes} encoding. For more information, see Liberty: The limits to protection through password encryption.
To encrypt the passwords, proceed as follows:
Procedure
- Open a shell command line.
-
Set the JAVA_HOME environment variable. If you do not have Java
installed, you can optionally use the Java version provided with the HCL Workload Automation
installation image and available in:
- HCL Workload Automation
- <IMAGE_DIR>/TWS/platform>/Tivoli_Eclipse_platform>/TWS/JavaExt/jre/
- Dynamic Workload Console
- <DWC_IMAGE_DIR>/java/jre/bin
-
Browse to the following path:
Liberty_installation_dir>/bin
-
You can encrypt passwords using either of the following methods:
- {xor}
- securityUtility encode my_password>
- {aes}
- securityUtility encode --encoding=aes my_password>
An output similar to the following is returned:- xor format
-
{xor}MjY+Lz4sbnGRLTs=
- aes format
-
{aes}AFC3jj9cROYyqR+3CONBzVi8deLb2Bossb9GGroh8UmDPGikIkzXZzid3nzY0IhnSg==
- Provide the encrypted passwords when typing the commands or save them in the properties file for each command.