My webMethods Server 10.11 | My webMethods Server Webhelp | Administering My webMethods Server | Startup and Configuration | 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.
This procedure requires the use of the JDK, installed in the Software AG directory\jvm directory, or a later JDK version.
*To generate an encrypted password
1. Open a command prompt window in the Software AG_directory \jvm\jvm\bin\java directory.
2. Run the following command:
*On Windows:
java -cp “Software AG directory\common\lib\wm-caf-common.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\slf4j-api.jar;
Software AG directory\common\lib\ext\log4j\*”
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/wm-scg-security.jar:
Software AG directory/common/lib/wm-scg-core.jar:
Software AG directory/common/lib/ext/slf4j-api.jar:
Software AG directory/common/lib/ext/log4j/*”
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.