Monday, 25 June 2012

Changing Password of Java Keystores(WebLogic 11g)


Changing Password of Java Keystores(WebLogic 11g)


Set the environment by running setDomainEnv.cmd
${MW_HOME}/user_projects/domains/<domain name>/bin


cd ${JAVA_HOME}/lib/security/cacerts
keytool -list -v -keystore cacerts
It will prompt for password: enter the password ("changeit" is the default cacert password).


Take a backup of the cacerts files and run keytool store password:
keytool -storepasswd -keystore cacerts


Confirm that the Keystore Password is changed:
keytool -list -v -keystore cacerts


Now in the console you can apply the new password for the java keystore passphrase.


Use the below command for changing the password of a custom keystore:
keytool -storepasswd -new new_storepass -keystore <your_custom_keystore.jks>


Cheers !!!!!!!!!!!!!!!!!!!!

No comments:

Post a Comment