unity openssl facebook

How to OpenSSL for Unity 5

What is OpenSSL

OpenSSL is a tool used to create a key for mobile apps on Facebook. For anyone who doesn’t use command prompt, like ever, figuring out how to use this tool sucks. So, for my sanity when making my next app, and for anyone else’s sanity who is sick of looking at tutorials from people who don’t know how to give proper detailed directions to people who are learning, I created this tutorial. Please keep in mind, I am using Windows 7, 64 bit, and I am using Unity 5.

how to openssl unity

Step 1

Download the current OpenSSL zip file.

The links:

Step 2

Unzip the file. Open up your C: drive. create a folder (directory) named OpenSSL. Open this folder. Paste the contents of the folder you just unzipped into the OpenSSL folder.

Step 3

Make sure all of your hidden files can be seen. Directions to unhide your files are here.

Step 4

Now, open the directory .android. On my machine, it looks like this:


Step 5

See if the debug.keystore file is there. If it is, skip ahead to step 7. If it is not, continue to step 6.

Step 6

Launch your Android Studio and create a new project. Once the project is created, check to make sure that a debug.keystore file has been created in your .android directory.
Click Next below

Pages: 1 2 3

Pages ( 1 of 3 ): 1 23Next »



  2. using cmd i figure out hash key but In unity its still showing the same error:

    1. Author

      You could try saving your project, closing Unity, and then loading the project again to see if the error disappears. The OpenSSL is tricky, and the solutions in this post are the best I could come up with.

      1. I have to restart my system to disappear the error. Thanks your solution was best 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *