@@ -80,18 +80,18 @@ in the following ways:
80
80
:manual:`SRV Connection Format </reference/connection-string/#srv-connection-format>`
81
81
in the {+mdb-server+} documentation.
82
82
83
- .. _c-specify-ca-file :
83
+ .. _c-specify-client-cert :
84
84
85
- Specify a CA File
86
- ------------------
85
+ Specify a Client Certificate
86
+ ----------------------------
87
87
88
88
When you connect to a MongoDB deployment with TLS enabled, the deployment will by default require the client to provide
89
89
a client certificate issued by a certificate authority, or an authority
90
90
trusted by the native certificate store in use on the server.
91
91
92
92
You can provide the client certificate in the following ways:
93
93
94
- - Setting the ``tlscertificatekeyfile `` parameter in your connection string to a ``.pem`` file containing the root certificate chain
94
+ - Setting the ``tlsCertificateKeyFile `` parameter in your connection string to a ``.pem`` file containing the root certificate chain
95
95
- Using the ``mongoc_uri_set_option_as_utf8()`` function to set the ``MONGOC_URI_TLSCERTIFICATEKEYFILE`` option
96
96
to a ``.pem`` file containing the root certificate chain
97
97
@@ -115,12 +115,6 @@ You can provide the client certificate in the following ways:
115
115
:end-before: end-connect-ca-file-uri
116
116
:dedent:
117
117
118
- .. note::
119
-
120
- If you don't specify a CA file when compiling against the Windows Native TLS library, the driver
121
- will use the Windows Certificate Store. To learn more, see the :ref:`c-native-tls`
122
- section of this guide.
123
-
124
118
.. _c-certificate-revocation:
125
119
126
120
Server Certificate Verification
@@ -199,7 +193,7 @@ and will issue an error if used.
199
193
Encrypted PEM files, set by using the ``tlsCertificateKeyPassword`` URI option, are also not supported and will result in error when
200
194
attempting to load them.
201
195
202
- When ``tlsCAFile`` is set, the driver will only allow server certificates issued by one or more authorities provided .
196
+ When ``tlsCAFile`` is set, the driver will import the file to the ``System Local Machine Root`` certificate store .
203
197
When no ``tlsCAFile`` is set, the driver will look up the Certificate Authority using the ``System Local Machine Root``
204
198
certificate store to confirm the provided certificate.
205
199
0 commit comments