Skip to content

Commit

Permalink
make instructions more API specific
Browse files Browse the repository at this point in the history
  • Loading branch information
rustagir committed Dec 14, 2023
1 parent 0cc3867 commit ccd4b80
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions source/fundamentals/connection/tls.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ using a method in the ``MongoClientSettings.Builder`` class.

If you connect by using the DNS seedlist protocol, indicated by the
``mongodb+srv`` prefix in your connection string, the driver
automatically enables TLS/SSL. To disable it, set the ``tls`` or
``ssl`` parameter value to ``false`` in your connection string or
``MongoClientSettings`` instance.
automatically enables TLS/SSL. To disable it, set the ``tls``
parameter value to ``false`` in your connection string or set the
``enabled`` property to ``false`` in the ``SslSettings.Builder``
block when creating a ``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>`
Expand Down

0 comments on commit ccd4b80

Please sign in to comment.