Skip to content

Instantly share code, notes, and snippets.

@kylefritz
Created November 17, 2014 18:06
Show Gist options
  • Select an option

  • Save kylefritz/5bb4739e85ee3b39c4db to your computer and use it in GitHub Desktop.

Select an option

Save kylefritz/5bb4739e85ee3b39c4db to your computer and use it in GitHub Desktop.
fix ruby ssl errors
# Fix SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
#
# https://coderwall.com/p/ubl6iw/fix-ssl_connect-returned-1-errno-0-state-sslv3-read-server-certificate-b-certificate-verify-failed-openssl-ssl-sslerror
#
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment