SHA-1 fingerprint of keystore certificate

前端 未结 30 3046
长发绾君心
长发绾君心 2020-11-21 23:36

Is the method for getting a SHA-1 fingerprint the same as the method of getting the a fingerprint? Previously, I was running this command:

30条回答
  •  太阳男子
    2020-11-21 23:59

    keytool is a key and certificate management utility. It allows users to administer their own public/private key pairs and associated certificates for use in self-authentication (where the user authenticates himself/herself to other users/services) or data integrity and authentication services, using digital signatures.

    For Windows

    keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
    

    Other

    keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
    

    Authorization on Android uses a SHA1 fingerprint and package name to identify your app instead of a client ID and client secret.

    http://docs.oracle.com/javase/6/docs/technotes/tools/windows/keytool.html

提交回复
热议问题