-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenSSL::SSL::SSLError: certificate verify failed with JRuby 1.7.22 #67
Comments
MRI 2.2.2 also throws a similar error on my machine.
|
So this works with JRuby 9k and 1.7.21 but not with 1.7.22, yes? Seems like it could be a problem with jruby-openssl 0.9.10 then, eh @kares @mkristian? |
I can confirm I have the same issue on 9k master, which has updated to 0.9.10. |
I can confirm it is a regression. jruby-1.7.21 with jruby-openssl-0.9.10 installed shows the same error. |
we've limited some ciphers for SSL handshake - maybe that's the issue, we'll need to investigate further |
regression caused by e25518f ... know which part just need to do some more testing before a 'good' fix. |
@kares Nice! |
fixes incompatibility introduced at e25518f
@sluukkonen you can check-out a pre-release gem with this fix, (should work fine on 1.7.22) from: https://oss.sonatype.org/content/repositories/snapshots/rubygems/jruby-openssl/0.9.11.dev-SNAPSHOT/ p.s. the fact that MRI fails is likely due "low" security algorithm: TLS_RSA_WITH_AES_128_CBC_SHA ... on our side this requires some considerable time investment to get aligned/right with recent OpenSSL - until then we're still working with some "older" ciphers (although not the critical ones). will add notes on the relevant issue. |
Thanks, I'll be trying the fix today. |
Can confirm that the new pre-release gem fixes all of my issues with the problematic sites. |
will the fix go out with 1.7.23? |
it will go out with 1.7.23 - hopefully soon since there is some other fix waiting to be used. |
When using httpclient, some sites are giving me errors like this with JRuby 1.7.22.
1.7.20 or 1.7.21 work without issues.
How to reproduce
The text was updated successfully, but these errors were encountered: