fix(config): delete peer_cert_as_username and peer_cert_as_clientid in tcp listener
This commit is contained in:
parent
a1f78b5083
commit
4bf0ad1baf
|
@ -1085,20 +1085,6 @@ listener.tcp.external.access.1 = allow all
|
||||||
## Value: Duration
|
## Value: Duration
|
||||||
## listener.tcp.external.proxy_protocol_timeout = 3s
|
## listener.tcp.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.
|
|
||||||
## 'pem' encodes CRT in base64, and md5 is the md5 hash of CRT.
|
|
||||||
##
|
|
||||||
## Value: cn | dn | crt | pem | md5
|
|
||||||
## listener.tcp.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.
|
|
||||||
## 'pem' encodes CRT in base64, and md5 is the md5 hash of CRT.
|
|
||||||
##
|
|
||||||
## Value: cn | dn | crt | pem | md5
|
|
||||||
## listener.tcp.external.peer_cert_as_clientid = cn
|
|
||||||
|
|
||||||
## The TCP backlog defines the maximum length that the queue of pending
|
## The TCP backlog defines the maximum length that the queue of pending
|
||||||
## connections can grow to.
|
## connections can grow to.
|
||||||
##
|
##
|
||||||
|
|
|
@ -1211,14 +1211,6 @@ end}.
|
||||||
{datatype, {duration, ms}}
|
{datatype, {duration, ms}}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
{mapping, "listener.tcp.$name.peer_cert_as_username", "emqx.listeners", [
|
|
||||||
{datatype, {enum, [cn, dn, crt, pem, md5]}}
|
|
||||||
]}.
|
|
||||||
|
|
||||||
{mapping, "listener.tcp.$name.peer_cert_as_clientid", "emqx.listeners", [
|
|
||||||
{datatype, {enum, [cn, dn, crt, pem, md5]}}
|
|
||||||
]}.
|
|
||||||
|
|
||||||
{mapping, "listener.tcp.$name.backlog", "emqx.listeners", [
|
{mapping, "listener.tcp.$name.backlog", "emqx.listeners", [
|
||||||
{datatype, integer},
|
{datatype, integer},
|
||||||
{default, 1024}
|
{default, 1024}
|
||||||
|
|
Loading…
Reference in New Issue