Changing passwords for the encryption KeyStore#
You can change passwords for the encryption KeyStore.
The encryption.keystore password must be identical to the certificate password.
Stop the server.
Open a command line window, and go to the app_data/conf directory.
To view the alias of the secret key, run the following command:
keytool -keystore encryption.keystore -list -storetype jceks -storepass changeit
Make a note of the alias of secret key, it is required in step 6. The keytool application is included in the Java™ developer kit and is not part of HCL™ Launch.
Back up the encryption.keystore file.
Change the encryption KeyStore password by using the following command:
keytool -storepasswd -new newPassword -keystore encryption.keystore -storetype jceks -storepass changeit
The default password is changeit. Replace
newPasswordwith your password of choice. The keytool application is included in the Java developer kit and is not part of HCL Launch.
Change the secret key password by using the following command:
keytool -keypasswd -alias XXX -keypass changeit -new newpassword -keystore encryption.keystore -storetype jceks -storepass newpassword
aliasis the one that you noted in step 3, and the encryption KeyStore password and the secret key password must be the same.
In a text editor, open the server-install\conf\server\secured-installed.properties file. Specify the new encryption.keystore password in the following line of code:
Start the server.
Starting the server automatically encrypts the encryption.keystore password that you specified in the installed.properties file.
Parent topic: Server settings and configuration