Ruby 1.9 and SSL error
29 Nov 2012Got this error today w/ my rails app locally hitting S3
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
Thankfully found a great explanation and discussion on this blog and ultimately Tom Gallagher’s comment on how to fix this w/ homebrew:
rvm pkg install openssl
rvm install 1.9.3 –with-openssl-dir=$rvm_path/usr
cd $rvm_path/usr/ssl
curl -O <a href="http://curl.haxx.se/ca/cacert.pem" rel="nofollow">http://curl.haxx.se/ca/cacert.pem</a>
mv cacert.pem cert.pem