Skip to content

Instantly share code, notes, and snippets.

@theleoborges
Created April 11, 2011 11:29
Show Gist options
  • Save theleoborges/913382 to your computer and use it in GitHub Desktop.
Save theleoborges/913382 to your computer and use it in GitHub Desktop.
Ruby 1.9 SSL
The fix for this..
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
Seems to be setting this config:
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
The question though is, why it fixes it? Is it actually the right way to fix it?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment