Getting this: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
Setting up a new Mac is always a joy. You forget how many configuration errors you solved long ago. Here’s one I just ran into. I started getting this error when doing OAuth with Facebook on my local machine:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
</pre>
I had already installed Ruby 1.9.3 so I had to reinstall:
rvm pkg install openssl
rvm reinstall 1.9.3 –-with-openssl-dir=$rvm_path/usr
cd $rvm_path/usr/ssl
curl -O http://curl.haxx.se/ca/cacert.pem
mv cacert.pem cert.pem
</pre>
<a href="https://rvm.io/packages/openssl/" target="_blank" rel="noopener">RVM has more information to help you out.</a>