Unexpected "certificate verify failed" which does not match MRI behavior ------------------------------------------------------------------------
Key: JRUBY-5010 URL: http://jira.codehaus.org/browse/JRUBY-5010 Project: JRuby Issue Type: Bug Components: OpenSSL Affects Versions: JRuby 1.5.1 Environment: Linux Reporter: Tony Arcieri You can reproduce this issue with the following code: require 'open-uri' open("https://medioh-studio.s3.amazonaws.com/").read On MRI (1.8.7) I get this: OpenURI::HTTPError: 403 Forbidden Which is the expected error in this case. The SSL certificate is verified and the anticipated response code is returned from Amazon's servers. On JRuby 1.5.1 I get this: OpenSSL::SSL::SSLError: certificate verify failed This error seems to occur regardless of what version of jruby-openssl is installed. Perhaps open-uri is doing some custom stuff here which is breaking? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email