Sha1 certificate fingerprint is used with google apis like firebase,google maps and google signin.
Getting sha1 fingerprint certificate is now easier with the latest android studio ide as it is done within the ide itself.Old way was by use of command line command:
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
Follow the following steps to get sha1 certificate fingerprint in android studio:
Step 1. Open your project in Android Studio.
Step 2. Click on Gradle Menu on the right side and expand it.
Step 3. Click on android and then signing report.
After double clicking on the signingReport command, go to the Run Tab at the bottom and there you will have your sha1 certificate fingerprint for debug and release.