Created
May 11, 2018 03:49
-
-
Save hotienvu/928bdd156b5a9bf34d91b3176a6427b4 to your computer and use it in GitHub Desktop.
keytool cheatsheet
This file contains 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
## create new keystore | |
keytool -genkeypair [-keyalg EC -keysize 256 -sigalg SHA256withECDSA] -keystore keystore.jks -alias domain.com | |
## list entries in keystore | |
keytool -list -keystore keystore.jks -v | |
## concatinate multiple keystores | |
keytool -importkeystore -srckeystore keystore1.jks -destkeystore keystore2.jks -deststoretype pkcs12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment