Skip to content

After enabling TLS communication in ngmonitor, it does not support verifying the Common Name (CN) in the certificate presented by clients. #291

@pepezzzz

Description

@pepezzzz

After enabling TLS communication in ngmonitor,The startup configuration file of ngmonitor already has the following certificate configuration.
[security]
ca-path = ""
cert-path = ""
key-path = ""

ng-monitoring should provide a capability similar to the configuration of the cert-allowed-cn parameter described at https://docs.pingcap.com/tidb/stable/tikv-configuration-file/#cert-allowed-cn. A list of acceptable X.509 Common Names in certificates presented by clients. Requests are permitted only when the presented Common Name is an exact match with one of the entries in the list.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions