-
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
TLS1.2 enforcement pains & JRuby, particularly hurting for TLS_RSA_WITH_AES_256_CBC_SHA256 #168
Comments
if its supported by the underlying Java engine than it should be doable. |
#126 and this commit added Java -> OSSL mappings for the IBM JRE version of these ciphers (SSL_ prefix instead of TLS_ prefix) but most don't have matching definitions in CipherNames, which means they will never be used. I managed to add a mapping that I needed to CipherNames and I'm able to successfully open SSL sockets with it, but I just guessed on what to put in the algorithms field in the Def class for the mapping. Looking into this further in an attempt to add more of these mappings reveals a couple of issues:
jruby/jruby#1738 has previous discussion about this issue Here are some commits that refactor CipherStrings to illustrate what cipher mappings are missing: mattbooks#1 |
#177 adds support for ECDHE-RSA-AES128-GCM-SHA256 |
Continuing on jruby/jruby#2194, as the title says, more and more services force TLS v1.2 and the lack of ciphers on JRuby is hurting very, very badly - a particular critical service jumped out yesterday due to TLS v1.2 enforcement, and I've got no options to put it back up at the moment under JRuby (MRI works fine with C openssl).
An urgent workaround would also be amazing, if possible <3 I've been playing with something like this but with little success so far:
that said, the response is always
OpenSSL::SSL::SSLError: Socket closed
, theopenssl s_client
command with this same data plugged in works, and it works when MRI ruby is used.these are the currently active ciphers:
Ruby is
jruby 9.1.13.0 (2.3.3)
PS actually, any of these would be a life-saver:
The text was updated successfully, but these errors were encountered: