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

changeP12pwd {-keystorefile file_name -keypassword current_password } | -h
-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 changeP12pwd parameters.

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.

proenv>cd %WRKDIR%\oepas1\conf
proenv>changeP12pwd  -keystorefile  tomcat-keystore.p12 -keypassword password
MAC verified OK
##### Take backup of original tomcat-keystore.p12 as tomcat-keystore_bk.p12
#####.alias ############## : test2
Loading 'screen' into random state - done
Enter Export Password: newpassword
Verifying - Enter Export Password:  newpassword
"### Success: tomcat-keystore.p12 password changed ###"
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:

tcman config psc.as.https.keypass=newpassword