From dc910315dc9a7b588fa2690c02b814630dbcd07f Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Tue, 31 Oct 2023 15:00:22 -0400 Subject: [PATCH 1/4] DOCSP-33943: mention dns seedlist default tls setting --- source/fundamentals/connection/tls.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/fundamentals/connection/tls.txt b/source/fundamentals/connection/tls.txt index 6d271caec..66c1fda1e 100644 --- a/source/fundamentals/connection/tls.txt +++ b/source/fundamentals/connection/tls.txt @@ -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 ``+srv`` + connection string modifier, the driver enables TLS/SSL. To disable it, + set the ``tls`` or ``ssl`` parameter value to ``false`` it in your + connection string or ``MongoClientSettings`` instance. + + To learn more about the connection behavior when you use a DNS seedlist, + see the :manual:`SRV Connection Format + section in the Server manual. + .. tabs:: .. tab:: ConnectionString From 6e21b3fe51c5ed7e54da951aad0b9c2891d835fc Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Tue, 31 Oct 2023 15:02:38 -0400 Subject: [PATCH 2/4] rst fix --- source/fundamentals/connection/tls.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fundamentals/connection/tls.txt b/source/fundamentals/connection/tls.txt index 66c1fda1e..5ab4b338d 100644 --- a/source/fundamentals/connection/tls.txt +++ b/source/fundamentals/connection/tls.txt @@ -45,7 +45,7 @@ using a method in the ``MongoClientSettings.Builder`` class. connection string or ``MongoClientSettings`` instance. To learn more about the connection behavior when you use a DNS seedlist, - see the :manual:`SRV Connection Format + see the :manual:`SRV Connection Format ` section in the Server manual. .. tabs:: From cacb271ef6fc4aac6f9d2cbeaf9cdb3a576b515d Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Tue, 31 Oct 2023 15:06:16 -0400 Subject: [PATCH 3/4] shorten --- source/fundamentals/connection/tls.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fundamentals/connection/tls.txt b/source/fundamentals/connection/tls.txt index 5ab4b338d..3a9214422 100644 --- a/source/fundamentals/connection/tls.txt +++ b/source/fundamentals/connection/tls.txt @@ -44,7 +44,7 @@ using a method in the ``MongoClientSettings.Builder`` class. set the ``tls`` or ``ssl`` parameter value to ``false`` it in your connection string or ``MongoClientSettings`` instance. - To learn more about the connection behavior when you use a DNS seedlist, + To learn more about connection behavior when you use a DNS seedlist, see the :manual:`SRV Connection Format ` section in the Server manual. From 33de61746a8f243b9b00694d1f682bb338a0efd1 Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Tue, 31 Oct 2023 20:18:27 -0400 Subject: [PATCH 4/4] PRR fixes --- source/fundamentals/connection/tls.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/fundamentals/connection/tls.txt b/source/fundamentals/connection/tls.txt index 3a9214422..90e4a5f9d 100644 --- a/source/fundamentals/connection/tls.txt +++ b/source/fundamentals/connection/tls.txt @@ -39,10 +39,10 @@ using a method in the ``MongoClientSettings.Builder`` class. .. note:: - If you connect by using the DNS seedlist protocol, indicated by the ``+srv`` - connection string modifier, the driver enables TLS/SSL. To disable it, - set the ``tls`` or ``ssl`` parameter value to ``false`` it in your - connection string or ``MongoClientSettings`` instance. + 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 `