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

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

    If you have a symbolic link in the /usr/local/etc/openssl pointing to cert.pem try to do this:

    ruby -ropenssl -e "p OpenSSL::X509::DEFAULT_CERT_FILE" (should be /usr/local/etc/openssl)
    cd /usr/local/etc/openssl
    wget http://curl.haxx.se/ca/cacert.pem
    ln -s cacert.pem 77ee3751.0 (77ee3751.0 is my symbolic link, should depend on the openssl version)
    

提交回复
热议问题