Skip to content

DOCSP-33943: mention dns seedlist default tls setting #481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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