SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

后端 未结 30 2942
太阳男子
太阳男子 2020-11-22 04:29

I am using Authlogic-Connect for third party logins. After running appropriate migrations, Twitter/Google/yahoo logins seem to work fine but the facebook login throws except

30条回答
  •  半阙折子戏
    2020-11-22 04:52

    If you are running your rails app locally then just add this line at the bottom of application.rb.

    OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
    

    After this you can use the app without any issues. You may call it a hack but it is not recommended. Use only when you need to run locally

提交回复
热议问题