Last active
October 30, 2017 18:34
-
-
Save kbshl/06c15e10ae56f99794c9 to your computer and use it in GitHub Desktop.
Top used Android keytool commands
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
keytool -keypasswd -alias <ALIAS> -keystore <KEYSTORE> |
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
keytool -delete -alias <ALIAS> -keystore <KEYSTORE> |
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
# Generate a private key using Android keytool | |
keytool -genkeypair -v -keystore <KEYSTORE_FILE_PATH> -alias <ALIAS_NAME> -keyalg RSA -sigalg SHA1withRSA -keysize 2048 -validity 10000 |
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
# Listing Aliases Inside an Android Keystore File With Keytool | |
keytool -list -v -keystore /location/of/your/com.example.keystore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment