diff --git a/gravitee-node-vertx/src/main/java/io/gravitee/node/vertx/configuration/HttpServerConfiguration.java b/gravitee-node-vertx/src/main/java/io/gravitee/node/vertx/configuration/HttpServerConfiguration.java index cc4f31945..93f0ee857 100644 --- a/gravitee-node-vertx/src/main/java/io/gravitee/node/vertx/configuration/HttpServerConfiguration.java +++ b/gravitee-node-vertx/src/main/java/io/gravitee/node/vertx/configuration/HttpServerConfiguration.java @@ -301,7 +301,7 @@ public static class HttpServerConfigurationBuilder { private boolean perFrameWebSocketCompressionSupported = true; private boolean proxyProtocol; private long proxyProtocolTimeout = 10000; - private ClientAuth clientAuth; + private ClientAuth clientAuth = ClientAuth.NONE; private List authorizedTlsCipherSuites; private Environment environment; @@ -672,7 +672,7 @@ public HttpServerConfiguration build() { String sClientAuthMode = environment.getProperty( prefix + "ssl.clientAuth", - ClientAuth.NONE.name() + this.clientAuth.name() ); if (sClientAuthMode.equalsIgnoreCase(Boolean.TRUE.toString())) { this.clientAuth = ClientAuth.REQUIRED;