Created
October 15, 2013 16:05
-
-
Save rodrigomaia/6993990 to your computer and use it in GitHub Desktop.
Faraday::Error::ConnectionFailed SSL_connect
This file contains hidden or 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
| Erro => Faraday::Error::ConnectionFailed SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed | |
| http://stackoverflow.com/questions/10775640/omniauth-facebook-error-faradayerrorconnectionfailed | |
| I've fixed this on Mac OS X Lion 10.7.4 with this solution: | |
| $ rvm remove 1.9.3 (or whatever version of ruby you are using) | |
| $ rvm pkg install openssl | |
| $ rvm install 1.9.3 --with-openssl-dir=$rvm_path/usr | |
| after this you will need to download the missing cacert.pem file: | |
| $ cd $rvm_path/usr/ssl | |
| $ sudo curl -O http://curl.haxx.se/ca/cacert.pem | |
| $ sudo mv cacert.pem cert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment