Last Updated: February 25, 2016
· pboling

How to Fix the OpenSSL Certificate Verify Error in Ruby using RVM

I recently upgraded to Mac OS X 10.11, El Capitan. I did reinstall all my rubies, but I ended up needing a bit more than that...

rvm osx-ssl-certs update all
# or whichever Ruby you need
rvm reinstall 2.2.3 --disable-binary 
# If you use a specific gemset
rvm use 2.2.3@myproject 
# use -v for parity with specific version on Heroku/Travis
gem install bundler -v 1.9.7 
bundle install

Fixes this error:

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

I have integrated this fix into my longer writeup on upgrading to Mac OS X El Capitan.

1 Response
Add your response

See my full writeup on the El Capitan Upgrade with Ruby, Homebrew, Java, QT, and other tools on my blog:

over 1 year ago ·