Skip to content

Instantly share code, notes, and snippets.

@kbshl
Last active October 30, 2017 18:34
Show Gist options
  • Save kbshl/06c15e10ae56f99794c9 to your computer and use it in GitHub Desktop.
Save kbshl/06c15e10ae56f99794c9 to your computer and use it in GitHub Desktop.
Top used Android keytool commands
keytool -keypasswd -alias <ALIAS> -keystore <KEYSTORE>
keytool -delete -alias <ALIAS> -keystore <KEYSTORE>
# 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
# 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