Openssl not found in unity sdk for facebook

Need Help on “Debug Android Key hash” If anyone know how to fix in Facebook settings, please let me know.

Got it.
Thanks for helping !!!

-- Hash Key Generation step by step through OpenSSL by Oz --

Read First

Notes:

  1. You should know where is your
    keystore file.

  2. You should know your alias in
    keystore.

  3. You should know path to keytool.
    C:\Program
    Files\Java\jdk1.7.0_71\bin\keytool.exe

  4. You should know path to openssl.
    C:\openssl\bin\openssl.exe

  5. You should know password to
    keystore. “android”

Then add this to your cmd like this:-

first copy the link for keytool in cmd as : C:\Users\Oz>cd “C:\Program Files\Java\jdk1.7.0_71\bin”

then add this line : check the openssl path again

keytool.exe -exportcert -alias androiddebugkey -keystore C:\Users\Oz.android\debug.keystore | C:\openssl\bin\openssl sha1 -binary | C:\openssl\bin\openssl base64

This page helped me to solve it!!

Hey all. Don’t know if anyone here is still needing help, but a lot of people have found this to help them out. These are just a bunch of tips I found and tested and this worked for me, so I wrote up what I did to solve my OpenSSL issues.

I wrote it a few years back, and just updated it a bit. Hope this helps!

Install Openssl. http://slproweb.com/products/Win32OpenSSL.html

this worked fine for me!
All the best

I have fixed the issue and update the solution here: