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

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

    Here's how you can fix it on Windows: https://gist.github.com/867550 (created by Fletcher Nichol)

    Excerpt:

    The Manual Way (Boring)

    Download the cacert.pem file from http://curl.haxx.se/ca/cacert.pem. Save this file to C:\RailsInstaller\cacert.pem.

    Now make ruby aware of your certificate authority bundle by setting SSL_CERT_FILE. To set this in your current command prompt session, type:

    set SSL_CERT_FILE=C:\RailsInstaller\cacert.pem
    

    To make this a permanent setting, add this in your control panel.

提交回复
热议问题