Skip to content

Instantly share code, notes, and snippets.

@DorkNstein
Last active November 3, 2017 20:32
Show Gist options
  • Save DorkNstein/9f1772f05bc45bd298eecb2328e96af0 to your computer and use it in GitHub Desktop.
Save DorkNstein/9f1772f05bc45bd298eecb2328e96af0 to your computer and use it in GitHub Desktop.
#release-purpose
keytool -exportcert -alias <aliasName> -keystore <keystoreFilePath> | openssl sha1 -binary | openssl base64
# To get the release certificate fingerprint:
keytool -exportcert -list -v \
-alias <your-key-name> -keystore <path-to-production-keystore>
#debug-purpose
keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64
# To get the debug certificate fingerprint:
keytool -exportcert -list -v \
-alias androiddebugkey -keystore ~/.android/debug.keystore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment