How can I change the password of store and alias in a signing certificate?

StackOverflow https://stackoverflow.com/questions/21301071

  •  01-10-2022
  •  | 
  •  

سؤال

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

هل كانت مفيدة؟

المحلول

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>

نصائح أخرى

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

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

Check out this link

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top