Changing the password of the WebSphere Liberty keystore
You can change the password of the IBM®
WebSphere® Liberty keystore.
Procedure
- Log on to the OpenPages® admin application server.
- Open a command or shell window.
-
Run the following command:
keytool -storepasswd -keystore <OP_HOME>/wlp-usr/servers/<server_name>Server<#>/resources/security/key.p12 -storetype PKCS12 -storepass <current_password>Replace <current_password> with the current password of the keystore. The initial password of the keystore is the same as the OpenPagesAdministrator password that you set when you installed OpenPages.
- Follow the prompts to set the new password.
-
Encrypt the password by running the following command:
<WLP_HOME>/bin/securityUtility.sh|.bat encode --encoding=aes <new_password>Replace <new_password> with the password that you created in step 4.
The script returns the encrypted password.
-
Update the bootstrap.properties file with the new encrypted
password.
- Open the following file in a text editor: <OP_HOME>/wlp-usr/servers/<server_name>Server<#>/bootstrap.properties
-
Update the value of the
keystore.passwordparameter with the encrypted password from step 5. - Save and close the file.
-
Restart all application services.
For more information, see Starting application servers.
- Repeat these steps on each horizontal cluster application server.