Created
September 22, 2012 23:19
-
-
Save vargeorge/3768187 to your computer and use it in GitHub Desktop.
FIX for Faraday::Error::ConnectionFailed SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ISSUE: | |
Ran into this errors when adding Aumniauth with provider strategies such as Google to my rails app on Mac OS X development box. Clicking on 'Sign in with ...' (E.g. Sign in with Google), resulted in an error page: | |
Faraday::Error::ConnectionFailed | |
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed | |
Faraday::Error::ConnectionFailed SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed | |
DIAGNOSIS: | |
This error is due to the fact Ruby didn't find the Certification Authority (CA) certificates to verify the secured web server. | |
FIX: | |
From terminal window run: | |
$ curl http://curl.haxx.se/ca/cacert.pem -o ~/.rvm/usr/ssl/cert.pem | |
This fixes the problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment