@@ -226,32 +226,40 @@ parameters of the connection URI to specify the behavior of the client.
226226 - ``false``
227227 - Specifies whether TLS is required for connections to the server.
228228 Using a ``srvServiceName`` of ``"mongodb+srv"``, or specifying other
229- ``tls`` prefixed options will default ``tls`` to ``true``.
229+ ``tls``-prefixed options implicitly sets the value of ``tls`` to
230+ ``true``.
230231
231232 * - **tlsAllowInvalidCertificates**
232233 - boolean
233234 - ``false``
234235 - Specifies whether the driver should error when the server’s
235- TLS certificate is invalid.
236+ TLS certificate is invalid. You should only set this option to
237+ ``true`` for testing purposes.
236238
237239 * - **tlsAllowInvalidHostnames**
238240 - boolean
239241 - ``false``
240242 - Specifies whether the driver should error when there is a mismatch
241243 between the server’s hostname and the hostname specified by the
242- TLS certificate.
244+ TLS certificate. You should only set this option to
245+ ``true`` for testing purposes.
243246
244247 * - **tlsCAFile**
245248 - string
246249 - ``null``
247250 - Specifies the path to a file with either a single or bundle of certificate
248- authorities to trust when making a TLS connection.
251+ authorities to trust when making a TLS connection. To learn more
252+ about setting this connection option, see the :ref:`Provide
253+ Certificate Filepaths <node-tls-filepaths>` section of the TLS guide.
249254
250255 * - **tlsCertificateKeyFile**
251256 - string
252257 - ``null``
253258 - Specifies the path to the client certificate file or the client
254- private key file. If you need both, you must concatenate the files.
259+ private key file. If you need both, you must concatenate the
260+ files. To learn more about setting this connection option, see
261+ the :ref:`Provide Certificate Filepaths <node-tls-filepaths>`
262+ section of the TLS guide.
255263
256264 * - **tlsCertificateKeyFilePassword**
257265 - string
@@ -263,7 +271,8 @@ parameters of the connection URI to specify the behavior of the client.
263271 - boolean
264272 - ``false``
265273 - Specifies to relax TLS constraints as much as possible, such as
266- allowing invalid certificates or hostname mismatches.
274+ allowing invalid certificates or hostname mismatches. You should
275+ only set this option to ``true`` for testing purposes.
267276
268277 * - **w**
269278 - non-negative integer or string
0 commit comments