Get SHA-1 Fingerprint Of Keystore Certificate (*.jks for Windows)

May 10, 2018
keytool -list -v -keystore {keystore.jks} -alias {alias_name}

Get SHA-1 Fingerprint for Development/Debug.

keytool -list -v -keystore C:\Users\{User}\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android

Get SHA-1 Fingerprint for Production

keytool -list -v -keystore {keystore.jks} -alias {alias_name}

You can run the keytool command in Android Studio Terminal in case you get the 'keytool' is not recognized as an internal or external command error.

Android Studio Terminal

If the above doesn’t work, you can find keytool.exe in the following location:

  • C:\Program Files\Android\Android Studio\jre\bin
  • C:\Program Files\Java\{jre|jdk}{version\bin

NOTE: you can add the path into Windows Environment Variables -> System Variables -> Path

This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.