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
In trying to disable aNULL ciphers, I get an exception -
The code example below is a minimal reproduction of this problem.
% ruby -ropenssl -e 'ctx = OpenSSL::SSL::SSLContext.new; ctx.ciphers = "DEFAULT:!aNULL"'
OpenSSL::SSL::SSLError: no cipher match
ciphers= at org/jruby/ext/openssl/SSLContext.java:391
(root) at -e:1
The following examples do not raise exceptions:
ctx.ciphers = "DEFAULT"
ctx.ciphers = "aNULL"
ctx.ciphers = "ALL:!aNULL"
Interestingly, if I look at the ciphers for DEFAULT and for aNULL specifically, I see no overlap:
jruby 1.7.16 (1.9.3p392) 2014-09-25 575b395 on OpenJDK 64-Bit Server VM 1.7.0_65-b32 +jit [linux-amd64]
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.2) (7u65-2.5.2-3~14.04)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
In trying to disable
aNULL
ciphers, I get an exception -The code example below is a minimal reproduction of this problem.
The following examples do not raise exceptions:
ctx.ciphers = "DEFAULT"
ctx.ciphers = "aNULL"
ctx.ciphers = "ALL:!aNULL"
Interestingly, if I look at the ciphers for DEFAULT and for aNULL specifically, I see no overlap:
All the
aNULL
ciphers use anonymous diffie-helman. None of theDEFAULT
ones do.As a workaround, I think I can generate my own list of ciphers using this kind of hack:
Then doing something like:
ctx.ciphers = ciphers("DEFAULT") - ciphers("aNULL") - ciphers("eNULL") ...
The text was updated successfully, but these errors were encountered: