Last active
February 14, 2020 15:53
-
-
Save grigoriy/b07216f73d6d539cdf2f986ea36da30b to your computer and use it in GitHub Desktop.
Duplicate a key creating new alias in a jks keystore using keytool.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keytool -keyclone -alias 'old-alias' -dest 'new-alias' -keypass 'old_keypass' -new 'new_keypass' -keystore '/path/to/keystore' -storepass 'storepass' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This worked like a champ.