Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by moghes · Nov 17, 2016 at 05:48 AM · objectfacebookkeystore

Can't get rid off the OpenSSL error in facebook settings for android!

Hello everyone,

I know this topic is repeated many times but I've read every available post more than 10 times :) still can't get the key hash.

My first question, why facebook or android or unity has made this process so dumb and nonsense?

So I've downloaded OpenSSL, installed.. added to the path in system variables the bin folder, also added to the path jdk bin folder, still have the error ..

Also tried to run: keytool -exportcert -alias YOUR_RELEASE_KEY_ALIAS -keystore YOUR_RELEASE_KEY_PATH | openssl sha1 -binary | openssl base64

but now "keytool is not recognized ..." I checked keytool exists in path, also added bin folder in jre directory .. still not recognized.

I copied several other method, like copied every file in openssl bin folder to java sdk bin folder .. I copied keystone to java sdk ..

I've implemented like this post , and this and this and this and this ... and many more :) and still no result.

What other reason might be? and why they've worked so hard getting the hash key almost impossible?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image moghes · Nov 19, 2016 at 12:07 AM 0
Share

going a step but don't know in what direction..

so after more search, I concluded to write "C:\Program Files\Java\jdk1.8.0_111\bin\keytool" -exportcert -alias androiddebugkey -keystore C:\Users\Engeroch.android\debug.keystore | "C:\OpenSSL-Win64\bin\openssl.exe" sha1 -binary | "C:\OpenSSL-Win64\bin\openssl.exe" base64

in cmd, and got a new message telling: can't open config file /usr/local/ssl/openssl.cnf

last line asked for password, wrote android as password, and it generated a key hash, celebrated for short, since I closed and open Unity, the error was still there. I copied this key hash, pasted into facebook app page .. key hash .. got back to unity, error is still there, build an apk and got "Your Android setup is not correct. See Settings in Facebook menu" this error.

follwing this post , I wrote set OPENSSL_CONF= c:\OpenSSL-Win64\bin\openssl.cfg

nothings happens, then I paste again: "C:\Program Files\Java\jdk1.8.0_111\bin\keytool" -exportcert -alias androiddebugkey -keystore C:\Users\Engeroch.android\debug.keystore | "C:\OpenSSL-Win64\bin\openssl.exe" sha1 -binary | "C:\OpenSSL-Win64\bin\openssl.exe" base64

and now I get this:

65168:error:0200107B:system library:fopen:$$anonymous$$ error:.\crypto\bio\bss_file.c: 175:fopen(' c:\OpenSSL-Win64\bin\openssl.cfg','rb') 716:error:0200107B:system library:fopen:$$anonymous$$ error:.\crypto\bio\bss_file.c:17 5:fopen(' c:\OpenSSL-Win64\bin\openssl.cfg','rb') 65168:error:2006D002:BIO routines:BIO_new_file:system lib:.\crypto\bio\bss_file. c:184: 716:error:2006D002:BIO routines:BIO_new_file:system lib:.\crypto\bio\bss_file.c: 184: 65168:error:0E078002:configuration file routines:DEF_LOAD:system lib:.\crypto\co nf\conf_def.c:197: 716:error:0E078002:configuration file routines:DEF_LOAD:system lib:.\crypto\conf \conf_def.c:197: Enter keystore password: android

nothing happens, close and open Unity, error still exists!!!

No one has faced this trouble ? where are you guys :) all this effort for getting the key hash?

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

58 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why missing android debug keystore? 0 Answers

ANDROID DEBUG KEYSTORE FILE IS MISSING -1 Answers

Error building player with project that includes the Facebook SDK 1 Answer

How to enable the application events (sdk facebook). 0 Answers

JSON Error : ArgumentException: JSON must represent an object type. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges