密钥库更改密码 [英] Keystore change passwords
本文介绍了密钥库更改密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我目前有一个密钥库,只有我应该知道的密码。我现在需要将密钥库的访问权限授予其他人,所以我想要:
I currently have a keystore, with a particular password that only I should know. I now need to give access to that keystore to someone else, so I would like to either:
1)更改密码,以便我可以与其他人共享密码他们签名
2)创建一个不同的密码并允许他们签名。
1) Change the password, so I can share it with others and let them sign
2) Create a different password and allow them to sign with it.
这可能吗?并且 - 如果是 - 如何?
Is this possible? and - if yes - how?
推荐答案
密钥库只有一个密码。您可以使用keytool更改它:
Keystore only has one password. You can change it using keytool:
keytool -storepasswd -keystore my.keystore
要更改密钥的密码:
keytool -keypasswd -alias <key_name> -keystore my.keystore
这篇关于密钥库更改密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文