Changing the password of the WebSphere Liberty keystore

You can change the password of the IBM® WebSphere® Liberty keystore.

Procedure

  1. Log on to the OpenPages® admin application server.
  2. Open a command or shell window.
  3. 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.

  4. Follow the prompts to set the new password.
  5. 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.

  6. Update the bootstrap.properties file with the new encrypted password.
    1. Open the following file in a text editor: <OP_HOME>/wlp-usr/servers/<server_name>Server<#>/bootstrap.properties
    2. Update the value of the keystore.password parameter with the encrypted password from step 5.
    3. Save and close the file.
  7. Restart all application services.
    For more information, see Starting application servers.
  8. Repeat these steps on each horizontal cluster application server.