Question

I want to change the password of store and an alias in a signing certificate.Can anyone tell me how can I do this?

Was it helpful?

Solution

For Keystore, you can use. It's interactive and will ask you for current and new password

keytool -storepasswd -keystore <keystore-name>

For Alias, try this

keytool -keypasswd -keystore <keystore-name> -alias <alias-name> -keypass <old-password> -new <new-password>

OTHER TIPS

Use keytool, the following command should work a charm :)

keytool -keypasswd  -alias <key_name> -keystore my.keystore

Check out this link

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top