webMethods and Intelligent Business Operations 10.2 | Running Business Processes and Composite Applications | Administering My webMethods Server | My webMethods Server and HTTPS | Using My webMethods Server as an HTTPS Client | Certificates Used for Secure Connections | Generating an Encrypted Password
 
Generating an Encrypted Password
When replacing keystores, you must provide an encrypted password. Use the following procedure to generate the password, and then copy and paste it into the appropriate location in the custom_wrapper.conf file.
Note: This procedure requires the use of the JDK, installed in the Software AG directory/jvm directory, or a later JDK version. If the installed JDK is not included in your PATH environment variable, you must run the command from the \bin directory of your Java installation, or specify the JDK location as a parameter to the command.
* To generate an encrypted password
1. Open a command prompt window in the Software AG_directory installation directory.
2. Run the following command:
*On Windows:
java -cp “Software AG directory\common\lib\wm-caf-common.jar;
Software AG directory\common\lib\ext\log4j.jar;
Software AG directory\common\lib\wm-scg-security.jar;
Software AG directory\common\lib\wm-scg-core.jar;
Software AG directory\common\lib\ext\enttoolkit.jar”
com.webmethods.caf.common.CipherUtil password_to_encrypt
*On UNIX:
java -cp “Software AG directory/common/lib/wm-caf-common.jar:
Software AG directory/common/lib/ext/log4j.jar:
Software AG directory/common/lib/wm-scg-security.jar:
Software AG directory/common/lib/wm-scg-core.jar:
Software AG directory/common/lib/ext/enttoolkit.jar”
com.webmethods.caf.common.CipherUtil password_to_encrypt
The command returns an encrypted version of the specified password.
3. Copy the encrypted password and paste it into the appropriate location in the custom_wrapper.conf file.

Copyright © 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release