Wednesday, 28 December 2016

How to change the certificate password

Hi All, after a long time posting again

How to change the certificate password using keytool command

Step1: open to the command prompt and go to the location where the certificate exists.
Step2:  execute the below command

keytool -storepasswd -keystore <jks file name>

Example
keytool -storepasswd -keystore test.jks

Step3: it will ask you the current password enter the same.
Step4: it will ask you the new password enter the new password.
Step5: it will ask you the password again for confirmation enter the same password which is entered  
           in step5.
Step6: thats it!!! your jks file got changed with new password....enjoy!!!!

No comments:

Post a Comment