Fix OpenSSL Error on Mountain Lion (and RVM)

on
| 1 min read

Don’t you just hate it when you have a fresh intall of Mountain Lion, RVM and some rubies - then all of a sudden you hit this OpenSSL::SSL::SSLError error message:

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

The fix is quite simple actually, all you need to do is to download a CA root certificate:

curl http://curl.haxx.se/ca/cacert.pem -o ~/.rvm/usr/ssl/cert.pem

And that’s it! Enjoy!

Enjoy what you are reading? Sign up for a better experience on Persumi.

Comments