Changing passwords for the server KeyStore
You can change the Java™ KeyStore password for the server.
About this task
Procedure
- Stop the server.
- Open a command-line window, and go to the appdata/conf directory.
-
Change the server KeyStore password by using this command:
The default server password is changeit. The keytool application is included in the Java™ developer kit and is not part of HCL DevOps Deploy (Deploy).keytool -storepasswd -new newStorePassword -keystore server.keystore -storepass changeit
-
Change the certificate password by using this command:
The default server alias is server.keytool -keypasswd -alias server -keypass changeit -new newKeyPassword -keystore server.keystore -storepass newStorePassword
- In a text editor, open the server-install\conf\server\secured-installed.properties file.
-
Specify the new Java™ KeyStore password for the server in
the following line of code:
Theserver.keystore.password=newStorePassword
javax.net.ssl.trustStorePassword
property takes precedence over thesecured-server.keystore.password
property. If it is present in server-install\conf\server\secured-installed.properties file, update its password with this code:javax.net.ssl.trustStorePassword=newpassword
. This property applies to all relevant KeyStores. - Specify the new Certificate password for the server in the following line of code:
server.key.password=newKeyPassword
- Start the server.