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

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

    A one liner fixes it for Windows in an Admin prompt

    choco install wget (first see chocolatey.org)

    wget http://curl.haxx.se/ca/cacert.pem -O C:\cacert.pem && setx /M SSL_CERT_FILE "C:\cacert.pem"
    

    Or just do this:

    gem sources -r https://rubygems.org/
    gem sources -a http://rubygems.org/
    

    Milanio's method:

    gem sources -r https://rubygems.org
    gem sources -a http://rubygems.org 
    gem update --system
    gem sources -r http://rubygems.org
    gem sources -a https://rubygems.org
    
    gem install [NAME_OF_GEM]
    

提交回复
热议问题