Created
November 24, 2011 15:12
-
-
Save kagemusha/1391549 to your computer and use it in GitHub Desktop.
SSL_connect...certificate verify failed Error on OSX using Rails
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
If running rails ... commands on OSX you get: | |
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed | |
Then: | |
1. Install cert | |
sudo port install curl-ca-bundle | |
2. When running rails command, do | |
SSL_CERT_FILE=<certfile_path> rails... | |
where certfile_path should be /opt/local/share/curl/curl-ca-bundle.crt | |
There are also apparently ways to use keychain which i haven't tried. | |
More info here: | |
http://stackoverflow.com/questions/4528101/ssl-connect-returned-1-errno-0-state-sslv3-read-server-certificate-b-certificat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment