Skip to content

Instantly share code, notes, and snippets.

@nicolasblanco
Last active December 14, 2015 04:09
Show Gist options
  • Save nicolasblanco/5026135 to your computer and use it in GitHub Desktop.
Save nicolasblanco/5026135 to your computer and use it in GitHub Desktop.
Fix for Ruby 2.0 Bundler OpenSSL certificate exception (in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError))
sudo wget http://curl.haxx.se/ca/cacert.pem -O /usr/local/etc/openssl/certs/cert.pem
echo "export SSL_CERT_FILE=/usr/local/etc/openssl/certs/cert.pem" >> ~/.bash_profile
source ~/.bash_profile
@mariovisic
Copy link

lol this works fine by seeing haxx.se in the URL worried me a bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment