|
|
@@ -752,8 +752,8 @@ listener.tcp.external.access.1 = allow all
|
|
|
## Enable the option for X.509 certificate based authentication.
|
|
|
## EMQX will use the common name of certificate as MQTT username.
|
|
|
##
|
|
|
-## Value: boolean
|
|
|
-## listener.tcp.external.peer_cert_as_username = true
|
|
|
+## Value: cn | dn
|
|
|
+## listener.tcp.external.peer_cert_as_username = cn
|
|
|
|
|
|
## The TCP backlog defines the maximum length that the queue of pending
|
|
|
## connections can grow to.
|
|
|
@@ -1096,7 +1096,7 @@ listener.ssl.external.ciphers = ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-G
|
|
|
## Use the CN field from the client certificate as a username.
|
|
|
## Notice that 'verify' should be set as 'verify_peer'.
|
|
|
##
|
|
|
-## Value: boolean
|
|
|
+## Value: cn | en
|
|
|
## listener.ssl.external.peer_cert_as_username = cn
|
|
|
|
|
|
## TCP backlog for the SSL connection.
|