Facebook Hash for release on Play Store

I created a hash key for my Android application using the Facebook SDK. However, now I want to create a hash key for the release version of my application. I use a different keystore for this.

I have the following syntax:

keytool -exportcert -alias MY_ALIAS_HERE -keystore ~/path/to/my/android.keystore | openssl sha1 -binary | openssl base64

Here MY_ALIAS_HERE is an alias present in this keystore file? Or something different? Also, the password is β€œandroid” or something else, like the password for this alias in the keystore file?

Thanks a lot..:)

+6
source share
2 answers
Answer to

mdDroid is correct. You just missed the path of your discovery. if you did not find the openssl.exe file on your C drive: just download openssl from here . Then replace "openssl" with the path of the openssl.exe file, for example

C:\bin\openssl

i install openssl on C drive: why is this the path of my openssl, your openssl path should be the location of the openssl.exe files. Now try ans from @mdDroid. you should get your hash key. Happy coding ...... :)

+2
source

Replace my path and alias with yours,

 "C:\Program Files\Java\jdk1.6.0_22\bin\keytool.exe" -exportcert -alias manoj -keystore c:\users\manoj\desktop\manoj.kp | C:\OpenSSL-Win32\bin\openssl sha1 -binary | C:\OpenSSL-Win32\bin\openssl base64 
+1
source

Source: https://habr.com/ru/post/951545/


All Articles