Generate SHA-1 Fingerprint Manually
In this guide we will create SHA-1 Fingerprint
manually using a terminal
for Mac OS or Linux and command prompt
for Windows.
#
Debug FingerprintIn this section we will create a debug certificate SHA-1 Fingerprint
manually using a terminal
for Mac OS or Linux and command prompt
for Windows.
- Mac / Linux
- Windows
In a terminal
copy the following command and press enter
The keytool utility prompts you to enter a password for the keystore. The default password for the debug keystore is android
.
Finally this will print the fingerprints for the debug certificate like below:
Copy the SHA-1 Fingerprint
value and save somewhere for later use.
In a command prompt
copy the following command and press enter
The keytool utility prompts you to enter a password for the keystore. The default password for the debug keystore is android
.
You need to replace the USERNAME
from C:\Users\USERNAME\.android\debug.keystore
with your user PC name.
Finally this will print the fingerprints for the debug certificate like below:
Copy the SHA-1 Fingerprint
value and save somewhere for later use.
#
Release FingerprintIn a terminal copy the following command and press enter to get the debug certificate fingerprint:
Replace the <your-key-name>
with the key alias you entered while creating the release keystore.
Replace the <path-to-production-keystore>
with the path where your release keystore is located.
The keytool utility prompts you to enter a password for the keystore. The password for it will be the same password which you entered while creating your release keystore.
After you have edited your values into the command it should look something like this:
Finally this will print the fingerprints for the debug certificate:
Copy the SHA-1 Fingerprint
value and save somewhere for later use.
Your debug and release
SHA-1 Fingerprint
values are generated based on the debug and release keystore. Save these values for later use. You can now follow the guide again from where you came to this section.