It is possible to duplicate a key in a keystore with the keyclone command of keytool:keytool -keyclone -alias "your-very-very-long-alias" -dest "new-alias" -keypass keypass -new new_keypass -keystore /path/to/keystore -storepass storepasschangealias 命令更改现有条目的别名:The changealias command changes the alias for an existing entry:keytool -changealias -alias "your-very-very-long-alias" -destalias "new-alias" -keypass keypass -keystore /path/to/keystore -storepass storepass对于那些想要提示输入密码的人,只需删除相应的密码标志(changealias 示例):For those that want to be prompted to enter password just remove the respective password flags (changealias example):keytool -changealias -alias "your-very-very-long-alias" -destalias "new-alias" -keystore "/path/to/keystore" 这篇关于如何更改密钥库中密钥的别名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-03 11:14