Encrypting passwords for proxy settings

If you need to encrypt passwords for use in proxy settings, you can use the IBM® BPM EncryptPassword utility.

Procedure

To encrypt passwords, complete the following steps:

  1. From a command prompt, go to the install_root/BPM/Lombardi/lib directory.
  2. Run the java -cp utility.jar com.lombardisoftware.utility.EncryptPassword <password> command, where <password> is the password that you want to encrypt.
    For example, run the following command:
    java -cp utility.jar com.lombardisoftware.utility.EncryptPassword JohnDoe
    The result is the following code:
    taVCmTLTWWgkTvfvavu/7g==:sROM4ZbvqRDFYMobWXqvwg==
    Important: If you are running the utility from a different directory, replace utility.jar with the exact path to the utility.jar file.
  3. If the utility fails with a ClassNotFoundException exception, set your Java home to the following directory before you run the utility again: install_root/AppServer/java/bin/java
    For example:
    • For Linux operating systemFor UNIX operating systemjava -cp install_root/BPM/Lombardi/lib/utility.jar com.lombardisoftware.utility.EncryptPassword JohnDoe
    • For Windows operating systemjava -cp install_root\BPM\Lombardi\lib\utility.jar com.lombardisoftware.utility.EncryptPassword JohnDoe
  4. Replace the existing encrypted password in your IBM BPM configuration files as described in the topic "Enabling encrypted passwords in proxy settings."
    Restriction: You cannot use the EncryptPassword utility to decrypt passwords that are already encrypted.