You can change the password of the IBM®
WebSphere® Liberty keystore.
Procedure
- Log in to the Red Hat®
OpenShift® web client as an
administrator.
- Click
, and then
click openpages-<instance_name>-platform-secret.
- Find the value for keystore-pw.
The
value in keystore-pw is the current password of the keystore. You need this
password in a later step.
- Click
, and then
click openpages-<instance_name>-sts-0.
- Click Terminal.
- Run the following command:
keytool -storepasswd -keystore /opt/ibm/wlp/output/defaultServer/resources/security/key.p12 -storetype PKCS12 -storepass <current_password>
Replace <current_password> with the current password of the keystore.
- Follow the prompts to set the new password.
Make a note of the
password. You need it in a later step.
- Back up the configuration by running the following command:
cd /opt/ibm/OpenPages/aurora/bin
./OPBackup.sh /opt/ibm/OpenPages/openpages-backup-restore app-cp4d nosrvrst
The backup is created in the
/opt/ibm/OpenPages/aurora/openpages-backup-restore directory.
- Return to the Red Hat
OpenShift web
client.
- Click
, and then
click openpages-<instance_name>-platform-secret.
- Click .
- Update keystore-pw with the new keystore password.
- Restart the application server pods.
- Click
, and
then click openpages-<instance_name>-sts.
- Decrease the number of pods to 0. Wait for all pods to be removed.
- Increase the number of pods to the value that you use in your
environment.
Results
The keystore password is changed. To verify the change, do the following steps:
- Click , and
then click openpages-<instance_name>-sts-0.
- Click Terminal.
- Run the following
command:
keytool -list -keystore /opt/ibm/wlp/output/defaultServer/resources/security/key.p12 -storetype PKCS12 -storepass <new_password>
Where
<new_password> is the password that you set in step 7.