|
@@ -1113,14 +1113,14 @@ listener.tcp.external.access.1 = allow all
|
|
|
|
|
|
|
|
## Enable the option for X.509 certificate based authentication.
|
|
## Enable the option for X.509 certificate based authentication.
|
|
|
## EMQX will use the common name of certificate as MQTT username.
|
|
## EMQX will use the common name of certificate as MQTT username.
|
|
|
-## The proxy-protocol protocol can get the certificate CN through tcp
|
|
|
|
|
|
|
+## Only support Proxy Protocol V2, the CN is available in Proxy Protocol V2 additional info
|
|
|
##
|
|
##
|
|
|
## Value: cn
|
|
## Value: cn
|
|
|
## listener.tcp.external.peer_cert_as_username = cn
|
|
## listener.tcp.external.peer_cert_as_username = cn
|
|
|
|
|
|
|
|
## Enable the option for X.509 certificate based authentication.
|
|
## Enable the option for X.509 certificate based authentication.
|
|
|
## EMQX will use the common name of certificate as MQTT clientid.
|
|
## EMQX will use the common name of certificate as MQTT clientid.
|
|
|
-## The proxy-protocol protocol can get the certificate CN through tcp
|
|
|
|
|
|
|
+## Only support Proxy Protocol V2, the CN is available in Proxy Protocol V2 additional info
|
|
|
##
|
|
##
|
|
|
## Value: cn
|
|
## Value: cn
|
|
|
## listener.tcp.external.peer_cert_as_clientid = cn
|
|
## listener.tcp.external.peer_cert_as_clientid = cn
|
|
@@ -1635,6 +1635,20 @@ listener.ws.external.access.1 = allow all
|
|
|
## Value: Duration
|
|
## Value: Duration
|
|
|
## listener.ws.external.proxy_protocol_timeout = 3s
|
|
## listener.ws.external.proxy_protocol_timeout = 3s
|
|
|
|
|
|
|
|
|
|
+## Enable the option for X.509 certificate based authentication.
|
|
|
|
|
+## EMQX will use the common name of certificate as MQTT username.
|
|
|
|
|
+## Only support Proxy Protocol V2, the CN is available in Proxy Protocol V2 additional info
|
|
|
|
|
+##
|
|
|
|
|
+## Value: cn
|
|
|
|
|
+## listener.ws.external.peer_cert_as_username = cn
|
|
|
|
|
+
|
|
|
|
|
+## Enable the option for X.509 certificate based authentication.
|
|
|
|
|
+## EMQX will use the common name of certificate as MQTT clientid.
|
|
|
|
|
+## Only support Proxy Protocol V2, the CN is available in Proxy Protocol V2 additional info
|
|
|
|
|
+##
|
|
|
|
|
+## Value: cn
|
|
|
|
|
+## listener.ws.external.peer_cert_as_clientid = cn
|
|
|
|
|
+
|
|
|
## The TCP backlog of external MQTT/WebSocket Listener.
|
|
## The TCP backlog of external MQTT/WebSocket Listener.
|
|
|
##
|
|
##
|
|
|
## See: listener.ws.$name.backlog
|
|
## See: listener.ws.$name.backlog
|