Skip to content

Instantly share code, notes, and snippets.

@sanjogshrestha
Created August 20, 2014 09:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sanjogshrestha/84982e8fe5c02032c49e to your computer and use it in GitHub Desktop.
Save sanjogshrestha/84982e8fe5c02032c49e to your computer and use it in GitHub Desktop.
To get android key hash code and To get Certificate fingerprint(MD5)
To get android key hash code follow these steps
Download the openssl for windows
now unzip to c drive
open cmd prompt
type cd C:\Program Files\Java\jdk1.6.0_26\bin
then type only
keytool -export -alias myAlias -keystore C:\Users\your user name\.android\myKeyStore | C:\openssl-0.9.8k_WIN32 \bin\opens sl sha1 -binary | C:\openssl-0.9.8k_WIN32\bin\openssl enc -a -e
Done
To get Certificate fingerprint(MD5) code follow these steps
go to - C:\Program Files\Java\jdk1.6.0_26\bin
inside the bin folder run the jarsigner.exe file
open cmd prompt
type cd C:\Program Files\Java\jdk1.6.0_26\bin
then again type on cmd
keytool -list -keystore "C:/Documents and Settings/your user name/.android/debug.keystore"
it will ask for Keystore password now. The default is "android" type and enter
Done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment