447381 - Disable SSLv3 by default.
Excluded by default SSL, SSLv2 and SSLv3.
This commit is contained in:
parent
f2eaa963f8
commit
aea5070e51
|
@ -44,7 +44,6 @@ import java.util.Set;
|
|||
import java.util.concurrent.CopyOnWriteArraySet;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import javax.net.ssl.CertPathTrustManagerParameters;
|
||||
import javax.net.ssl.KeyManager;
|
||||
import javax.net.ssl.KeyManagerFactory;
|
||||
|
@ -224,6 +223,7 @@ public class SslContextFactory extends AbstractLifeCycle
|
|||
public SslContextFactory(boolean trustAll)
|
||||
{
|
||||
setTrustAll(trustAll);
|
||||
addExcludeProtocols("SSL", "SSLv2", "SSLv3");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue