Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
OpenSSL::SSL::SSLError when talking to github #189
Running the following code on JRuby:
require 'open-uri' open "https://api.github.com"
Results in a
Issue appears on 184.108.40.206, 1.7.0-preview1 and head, both in 1.8 and 1.9 mode, both on OSX 10.7 and Ubuntu.
I've run into this issue separately. VERIFY_NONE will work with your example, but it's not ideal:
require 'open-uri' open "https://api.github.com", ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE
I could've sworn that there was a bug filed on this issue, but I can't seem to find it.
On the master branch, this works (and denies the redirect):
I'm closing this for now, but do let us know if further investigation is necessary.