OpenSSL::SSL::SSLError - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed:

只谈情不闲聊 提交于 2019-12-13 04:07:02

问题


I deployed a Facebook app using Heroku and got it partially working locally. I can see my app but I as soon as I click on connect with Facebook I get an Internal Server Error Message. This is what Foreman is throwing:

OpenSSL::SSL::SSLError - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed:

Everything works on Production but I need to get local working to start integrating Mongo and FB.

I followed all the instructions on: https://devcenter.heroku.com/articles/facebook#working-locally. I created the dev app and modified the .env file accordingly. I created a self-signed certificate but I'm not sure if this is what follows.

I'm on Mac OS 10.8.2 running ruby 1.9.3p194, OpenSSL 1.0.1c, sinatra 1.2.6 and Foreman.


回答1:


I had the same trouble and solved it

try add the following line into your Gemfile

gem 'certified'

and execute

bundle

Run again!



来源:https://stackoverflow.com/questions/13167747/opensslsslsslerror-ssl-connect-returned-1-errno-0-state-sslv3-read-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!