You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ jruby --version
jruby 1.7.12 (1.9.3p392) 2014-04-15 643e292 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_55-b13 [darwin-x86_64]
$ jruby -ropenssl -e 'p OpenSSL::SSL::SSLContext.new.ssl_version=:"TLSv1.2"'
OpenSSL::SSL::SSLError: unknown SSL method `TLSv1.2'.
ssl_version= at org/jruby/ext/openssl/SSLContext.java:355
(root) at -e:1
JRuby's current tip of master also appears to still have this issue in ext/openssl/src/main/java/org/jruby/ext/openssl/SSLContext.java. It calls newSSLError() to create the error object.
When given an an unsupported/unknown SSL version, MRI 1.9.3 and 2.0 raise an ArgumentError, while JRuby 1.7.12 raises an OpenSSL::SSL::SSLError:
JRuby's current tip of master also appears to still have this issue in
ext/openssl/src/main/java/org/jruby/ext/openssl/SSLContext.java
. It callsnewSSLError()
to create the error object.Split out of #1733
The text was updated successfully, but these errors were encountered: