Change the keystore password utility (changeP12pwd)
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
This utility changes the keystore password in a specified keystore file. The
utility is found in the OpenEdge installation's /bin directory (%DLC%\bin).
The default password is password in the
default keystore file: %DLC%/bin/tomcat-keystore.p12. This password should be changed when
you are deploying a production instance of PAS for OpenEdge.
Note: You can check the current password by running:
tcman config psc.as.https.keypass. After changing the password with
changeP12pwd, set psc.as.https.keypass to the new password. This task is described
below.Syntax
|
- -keystorefile file_name
- Specifies the file name (or complete path) of the keystore file.
- -keypassword current_password
- Specifies the existing password in the keystore file.
- -h
- Displays a list of the
changeP12pwdparameters.
Example
The following example changes the default password. The changeP12pwd utility is being invoked from the /conf directory on the default keystore file that is
in the same directory.
|
Notice that:
- The utility creates a backup of the original keystore file. In this case, it
is
tomcat-keystore_bk.p12. - The utility prompts you to enter the new password and to verify the entry.
- The utility indicates if the change was successful.
After a successful password change, reset psc.as.https.keypass to
the new value:
|