Java keystores use two passwords. If you want to change both these are the steps:
- Change the password used to protect the integrity of the keystore contents:
- Change the password under which the private/secret key identified by alias is protected:
keytool -storepasswd -keystore this-is-the-file.keystore
keytool -keypasswd -keystore this-is-the-file.keystore -alias this-is-the-key
Where
- this-is-the-file.keystore is the file to store passwords
- this-is-the-key is the alias of our private/public password
Happy hacking!!! :-)
No hay comentarios:
Publicar un comentario