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

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

    OSX solution:

    install latest rvm stable version

    rvm get stable
    

    use rvm command to solve the certificates automatically

    rvm osx-ssl-certs update all
    
    0 讨论(0)
  • 2020-11-22 05:10

    I've try install curl-ca-bundle with brew, but the package is no available more:

    $ brew install curl-ca-bundle
    Error: No available formula for curl-ca-bundle 
    Searching formulae...
    Searching taps...
    

    The solution that worked to me on Mac was:

     $ cd /usr/local/etc/openssl/certs/
     $ sudo curl -O http://curl.haxx.se/ca/cacert.pem
    

    Add this line in your ~/.bash_profile (or ~/.zshrc for zsh):

    export SSL_CERT_FILE=/usr/local/etc/openssl/certs/cacert.pem
    

    Then update your terminal:

    $ source ~/.bash_profile
    
    0 讨论(0)
  • 2020-11-22 05:10

    I fixed this problem by running this in terminal. Full writeup is available over here

    rvm install 2.2.0 --disable-binary
    
    0 讨论(0)
  • 2020-11-22 05:11

    I ran into this issue and the suggested fix of rvm osx-ssl-certs update all did not work despite that I am an RVM user on OSX.

    The fix that worked for me was re-installing the latest version of openssl:

    brew update
    brew remove openssl
    brew install openssl
    
    0 讨论(0)
  • 2020-11-22 05:12

    Just add gem 'certified' in your gemfile and run bundle install.

    1. gem 'certified'
    2. bundle install
    0 讨论(0)
  • 2020-11-22 05:14

    Sometime it's not always rvm's problem in MAC OSX,if you remove .rvm,the problem still(espcially while you backup data from timemachine) ,you can try this way.

    1.brew update
    2.brew install openssl
    
    0 讨论(0)
提交回复
热议问题