Issue #3049 - Warn on common SslContextFactory problematic configurations.
Made default endpointIdentificationAlgorithm=HTTPS to avoid warnings when SslContextFactory is used on a server. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
60158edd2b
commit
e4d78608a7
|
@ -21,7 +21,7 @@
|
|||
<Set name="TrustStorePassword"><Property name="jetty.sslContext.trustStorePassword" deprecated="jetty.truststore.password"/></Set>
|
||||
<Set name="TrustStoreType"><Property name="jetty.sslContext.trustStoreType"/></Set>
|
||||
<Set name="TrustStoreProvider"><Property name="jetty.sslContext.trustStoreProvider"/></Set>
|
||||
<Set name="EndpointIdentificationAlgorithm"><Property name="jetty.sslContext.endpointIdentificationAlgorithm"/></Set>
|
||||
<Set name="EndpointIdentificationAlgorithm"><Property name="jetty.sslContext.endpointIdentificationAlgorithm" default="HTTPS"/></Set>
|
||||
<Set name="NeedClientAuth"><Property name="jetty.sslContext.needClientAuth" deprecated="jetty.ssl.needClientAuth" default="false"/></Set>
|
||||
<Set name="WantClientAuth"><Property name="jetty.sslContext.wantClientAuth" deprecated="jetty.ssl.wantClientAuth" default="false"/></Set>
|
||||
<Set name="useCipherSuitesOrder"><Property name="jetty.sslContext.useCipherSuitesOrder" default="true"/></Set>
|
||||
|
|
|
@ -188,7 +188,7 @@ public class SslContextFactory extends AbstractLifeCycle implements Dumpable
|
|||
private int _sslSessionCacheSize = -1;
|
||||
private int _sslSessionTimeout = -1;
|
||||
private SSLContext _setContext;
|
||||
private String _endpointIdentificationAlgorithm = null;
|
||||
private String _endpointIdentificationAlgorithm = "HTTPS";
|
||||
private boolean _trustAll;
|
||||
private boolean _renegotiationAllowed = true;
|
||||
private int _renegotiationLimit = 5;
|
||||
|
|
Loading…
Reference in New Issue