Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions source/fundamentals/connection/tls.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ You can enable TLS/SSL for the connection to your MongoDB instance
in two different ways: through a parameter in your connection string, or
using a method in the ``MongoClientSettings.Builder`` class.

.. note::

If you connect by using the DNS seedlist protocol, indicated by the
``mongodb+srv`` prefix in your connection string, the driver enables
TLS/SSL. To disable it, set the ``tls`` or ``ssl`` parameter value to
``false`` in your connection string or ``MongoClientSettings`` instance.

To learn more about connection behavior when you use a DNS seedlist,
see the :manual:`SRV Connection Format </reference/connection-string/#std-label-connections-dns-seedlist>`
section in the Server manual.

.. tabs::

.. tab:: ConnectionString
Expand Down