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

后端 未结 30 2941
太阳男子
太阳男子 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:59

    I had this same issue while working on a Ruby project. I am using Windows 7 64bit.

    I resolved this by:

    1. Downloading the cacert.pem file from http://curl.haxx.se/ca/cacert.pem.
    2. Saved that file to C:/RubyCertificates/cacert.pem
    3. Then set my environmental variable "SSL_CERT_FILE" to "C:\RubyCertificates\cacert.pem"

    source: https://gist.github.com/fnichol/867550

提交回复
热议问题