@@ -19,17 +19,22 @@ content: |
19
19
Distinguished Name (``DN``), must **differ** from the subjects of
20
20
:ref:`member x.509 certificates <x509-member-certificate>`.
21
21
22
- At least one of the Organization (``O``), Organizational Unit
23
- (``OU``), or Domain Component (``DC``) attributes in the client
24
- certificate must differ from those in the
25
- :setting:`net.tls.clusterFile` and
26
- :setting:`net.tls.certificateKeyFile` server certificates. If a
27
- client x.509 certificate's subject has the same ``O``, ``OU``, and
28
- ``DC`` combination as the :ref:`x509-member-certificate` (or
29
- :parameter:`tlsX509ClusterAuthDNOverride` if set), the client
30
- connection is rejected. Only :ref:`cluster member x509 certificates
31
- <x509-member-certificate>` should use same ``O``, ``OU``, and
32
- ``DC`` combinations as this grants full permissions.
22
+ .. important::
23
+
24
+ If a client x.509 certificate's subject matches the ``O``, ``OU``, and
25
+ ``DC`` attributes of the :ref:`x509-member-certificate` (or
26
+ :parameter:`tlsX509ClusterAuthDNOverride`, if set) exactly, the client
27
+ connection is accepted, full permissions are granted, and a warning
28
+ message appears in the log.
29
+
30
+ Only :ref:`cluster member x509 certificates <x509-member-certificate>`
31
+ should use the same ``O``, ``OU``, and ``DC`` attribute combinations.
32
+
33
+
34
+ .. versionadded:: 4.2
35
+
36
+ If the MongoDB deployment has :parameter:`tlsX509ClusterAuthDNOverride`
37
+ set, the client x.509 certificate's subject must not match that value.
33
38
34
39
If the MongoDB deployment has
35
40
:parameter:`tlsX509ClusterAuthDNOverride` set (*available starting
@@ -89,11 +94,10 @@ content: |
89
94
CN=host2,OU=Dept1,O=MongoDB
90
95
91
96
- Either the Common Name (``CN``) or one of the Subject Alternative
92
- Name (``SAN``) entries must match the hostname of the server, used
93
- by the other members of the cluster. Starting in MongoDB 4.2, when
94
- performing comparison of SAN, MongoDB supports comparison of DNS
95
- names or IP addresses. In previous versions, MongoDB only supports
96
- comparisons of DNS names.
97
+ Name (``SAN``) entries must match the server hostname for other cluster
98
+ members. Starting in MongoDB 4.2, when comparing ``SAN``\s, MongoDB can
99
+ compare either DNS names or IP addresses. In previous versions, MongoDB
100
+ only compares DNS names.
97
101
98
102
For example, the certificates for a cluster could have the
99
103
following subjects:
0 commit comments