HCL Workload Automation, Version 9.4

Running {xor} encryption on your password

About this task

To {xor} encrypt your password, use the PropFilePasswordEncoder command located in the WAS_home/bin directory of the external WebSphere Application Server.

Follow these steps:
  1. Open a new text file and write the following line:
    string=your_password_in_plain_text 
  2. Save the file with a file_name of your choice.
  3. Run PropFilePasswordEncoder as follows:
    PropFilePasswordEncoder file_name string 
    where:
    file_name
    Is the name of the file with your password.
    string
    Is the string you used in the text file. This can be any word that you choose, for example, password, mypwd, joe, and so on.
  4. When the command completes, open the text file again. The content has changed to:
    string={xor}your_encrypted_password 
  5. Copy your encrypted password, inclusive of the {xor} characters, and paste it where required into your property files.
For example, if you want to encrypt your password catamaran. Proceed as follows:
  1. Open a text file and write the following:
    mypasswd=catamaran
  2. Save the file with name encrfile.txt.
  3. Run:
    PropFilePasswordEncoder encrfile.txt mypasswd 
  4. Open encrfile.txt. You find:
    mypasswd={xor}PD4rPjI+LT4x 
  5. Copy {xor}PD4rPjI+LT4x and paste it where you need to.