diff --git a/source/includes/deprecation-uniqueDocs.rst b/source/includes/deprecation-uniqueDocs.rst index a0e52f9e9ac..83eb09a45b8 100644 --- a/source/includes/deprecation-uniqueDocs.rst +++ b/source/includes/deprecation-uniqueDocs.rst @@ -1,3 +1,4 @@ .. deprecated:: 2.6 + Geospatial queries no longer return duplicate results. The :query:`$uniqueDocs` operator has no impact on results. diff --git a/source/reference/configuration-options.txt b/source/reference/configuration-options.txt index cdb8e847e58..03f4efaded5 100644 --- a/source/reference/configuration-options.txt +++ b/source/reference/configuration-options.txt @@ -1643,7 +1643,9 @@ Core Options *Type*: boolean - .. deprecated:: 2.6 Use :setting:`net.tls.mode: requireTLS ` instead. + .. deprecated:: 2.6 + + Use :setting:`net.tls.mode: requireTLS ` instead. Enable or disable TLS/SSL for :binary:`~bin.mongos` or :binary:`~bin.mongod`. @@ -1659,7 +1661,9 @@ Core Options *Type*: string - .. deprecated:: 4.2 Use :setting:`net.tls.mode` instead. + .. deprecated:: 4.2 + + Use :setting:`net.tls.mode` instead. Enables TLS/SSL or mixed TLS/SSL used for all network connections. The argument to the :setting:`net.ssl.mode` setting can be one of the following: @@ -1700,7 +1704,9 @@ Core Options *Type*: string - .. deprecated:: 4.2 Use :setting:`net.tls.certificateKeyFile` instead. + .. deprecated:: 4.2 + + Use :setting:`net.tls.certificateKeyFile` instead. The :file:`.pem` file that contains both the TLS/SSL certificate and key. @@ -1734,7 +1740,9 @@ Core Options *Type*: string - .. deprecated:: 4.2 Use :setting:`net.tls.certificateKeyFilePassword` instead. + .. deprecated:: 4.2 + + Use :setting:`net.tls.certificateKeyFilePassword` instead. The password to de-crypt the certificate-key file (i.e. :setting:`~net.ssl.PEMKeyFile`). Use the @@ -1768,7 +1776,9 @@ Core Options *Type*: string - .. deprecated:: 4.2 Use :setting:`net.tls.certificateSelector` instead. + .. deprecated:: 4.2 + + Use :setting:`net.tls.certificateSelector` instead. .. versionadded:: 4.0 @@ -1810,7 +1820,9 @@ Core Options *Type*: string - .. deprecated:: 4.2 Use :setting:`net.tls.clusterCertificateSelector` instead. + .. deprecated:: 4.2 + + Use :setting:`net.tls.clusterCertificateSelector` instead. .. versionadded:: 4.0 @@ -1851,7 +1863,9 @@ Core Options *Type*: string - .. deprecated:: 4.2 Use :setting:`net.tls.clusterFile` instead. + .. deprecated:: 4.2 + + Use :setting:`net.tls.clusterFile` instead. The :file:`.pem` file that contains the x.509 certificate-key file for :ref:`membership authentication ` @@ -1887,7 +1901,9 @@ Core Options *Type*: string - .. deprecated:: 4.2 Use :setting:`net.tls.clusterPassword` instead. + .. deprecated:: 4.2 + + Use :setting:`net.tls.clusterPassword` instead. The password to de-crypt the x.509 certificate-key file specified with ``--sslClusterFile``. Use the :setting:`net.ssl.clusterPassword` @@ -1921,7 +1937,9 @@ Core Options *Type*: string - .. deprecated:: 4.2 Use :setting:`net.tls.CAFile` instead. + .. deprecated:: 4.2 + + Use :setting:`net.tls.CAFile` instead. The :file:`.pem` file that contains the root certificate chain from the Certificate Authority. Specify the file name of the @@ -1943,7 +1961,9 @@ Core Options *Type*: string - .. deprecated:: 4.2 Use :setting:`net.tls.clusterCAFile` instead. + .. deprecated:: 4.2 + + Use :setting:`net.tls.clusterCAFile` instead. The :file:`.pem` file that contains the root certificate chain from the Certificate Authority used to validate the certificate presented @@ -1985,7 +2005,9 @@ Core Options *Type*: string - .. deprecated:: 4.2 Use :setting:`net.tls.CRLFile` instead. + .. deprecated:: 4.2 + + Use :setting:`net.tls.CRLFile` instead. The :file:`.pem` file that contains the Certificate Revocation List. Specify the file name of the :file:`.pem` file using relative or @@ -2014,7 +2036,10 @@ Core Options *Type*: boolean - .. deprecated:: 4.2 Use :setting:`net.tls.allowConnectionsWithoutCertificates` instead. + .. deprecated:: 4.2 + + Use :setting:`net.tls.allowConnectionsWithoutCertificates` + instead. For clients that do not present certificates, :binary:`~bin.mongos` or :binary:`~bin.mongod` bypasses TLS/SSL certificate validation when establishing the connection. @@ -2034,7 +2059,9 @@ Core Options *Type*: boolean - .. deprecated:: 4.2 Use :setting:`net.tls.allowInvalidCertificates` instead. + .. deprecated:: 4.2 + + Use :setting:`net.tls.allowInvalidCertificates` instead. Enable or disable the validation checks for TLS/SSL certificates on other servers in the cluster and allows the use of invalid certificates to @@ -2073,8 +2100,9 @@ Core Options *Type*: string - .. deprecated:: 4.2 Use :setting:`net.tls.disabledProtocols` instead. + .. deprecated:: 4.2 + Use :setting:`net.tls.disabledProtocols` instead. Prevents a MongoDB server running with TLS/SSL from accepting incoming connections that use a specific protocol or protocols. To @@ -2110,7 +2138,9 @@ Core Options *Type*: boolean - .. deprecated:: 4.2 Use :setting:`net.tls.FIPSMode` instead. + .. deprecated:: 4.2 + + Use :setting:`net.tls.FIPSMode` instead. Enable or disable the use of the FIPS mode of the TLS/SSL library for the :binary:`~bin.mongos` or :binary:`~bin.mongod`. Your system must have a FIPS diff --git a/source/reference/method/db.collection.ensureIndex.txt b/source/reference/method/db.collection.ensureIndex.txt index 6d5eea9f06c..2808b84cd71 100644 --- a/source/reference/method/db.collection.ensureIndex.txt +++ b/source/reference/method/db.collection.ensureIndex.txt @@ -19,7 +19,8 @@ Definition .. include:: /includes/fact-mongo-shell-method.rst - .. deprecated:: 3.0.0 + .. deprecated:: 3.0 + :method:`db.collection.ensureIndex()` has been replaced by :method:`db.collection.createIndex()`. diff --git a/source/reference/method/db.getProfilingLevel.txt b/source/reference/method/db.getProfilingLevel.txt index c33ade097c7..688c5ebb7e4 100644 --- a/source/reference/method/db.getProfilingLevel.txt +++ b/source/reference/method/db.getProfilingLevel.txt @@ -16,4 +16,5 @@ db.getProfilingLevel() ":dbcommand:`profile`" and returns the current profiling level. .. deprecated:: 1.8.4 + Use :method:`db.getProfilingStatus()` for related functionality. diff --git a/source/reference/method/db.removeUser.txt b/source/reference/method/db.removeUser.txt index 6a5a1b8be68..3c11105073b 100644 --- a/source/reference/method/db.removeUser.txt +++ b/source/reference/method/db.removeUser.txt @@ -11,6 +11,7 @@ db.removeUser() :class: singlecol .. deprecated:: 2.6 + Use :method:`db.dropUser()` instead of :method:`db.removeUser()` diff --git a/source/reference/operator/aggregation/substr.txt b/source/reference/operator/aggregation/substr.txt index 85ff9c1fef4..d32df64ee0d 100644 --- a/source/reference/operator/aggregation/substr.txt +++ b/source/reference/operator/aggregation/substr.txt @@ -16,6 +16,7 @@ Definition .. expression:: $substr .. deprecated:: 3.4 + :expression:`$substr` is now an alias for :expression:`$substrBytes`. diff --git a/source/reference/operator/query/geoWithin.txt b/source/reference/operator/query/geoWithin.txt index 681cf7404da..30459f723fc 100644 --- a/source/reference/operator/query/geoWithin.txt +++ b/source/reference/operator/query/geoWithin.txt @@ -194,5 +194,6 @@ specify the custom MongoDB coordinate reference system. For example: .. query:: $within .. deprecated:: 2.4 + :query:`$geoWithin` replaces :query:`$within` in MongoDB 2.4. diff --git a/source/reference/parameters.txt b/source/reference/parameters.txt index 52e7bddf29b..a00eeb837fb 100644 --- a/source/reference/parameters.txt +++ b/source/reference/parameters.txt @@ -729,7 +729,9 @@ Authentication Parameters *Default*: false - .. deprecated:: 4.2 Use :parameter:`tlsWithholdClientCertificate` instead. + .. deprecated:: 4.2 + + Use :parameter:`tlsWithholdClientCertificate` instead. |both| diff --git a/source/reference/privilege-documents.txt b/source/reference/privilege-documents.txt index 425bb5dd1d1..b9fe2036ab7 100644 --- a/source/reference/privilege-documents.txt +++ b/source/reference/privilege-documents.txt @@ -13,6 +13,7 @@ :class: singlecol .. deprecated:: 2.6 + MongoDB 2.6 introduced a new model for user credentials and privileges and no longer uses privilege documents. See :doc:`/reference/system-users-collection`. diff --git a/source/reference/program/mongo.txt b/source/reference/program/mongo.txt index 20221346b41..463d1b67bdd 100644 --- a/source/reference/program/mongo.txt +++ b/source/reference/program/mongo.txt @@ -674,7 +674,9 @@ SSL Options (Deprecated) .. option:: --ssl - .. deprecated:: 4.2 Use :option:`--tls ` instead. + .. deprecated:: 4.2 + + Use :option:`--tls ` instead. Enables connection to a :binary:`~bin.mongod` or :binary:`~bin.mongos` that has TLS/SSL support enabled. @@ -687,7 +689,10 @@ SSL Options (Deprecated) .. option:: --sslPEMKeyFile - .. deprecated:: 4.2 Use :option:`--tlsCertificateKeyFile ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsCertificateKeyFile + ` instead. Specifies the :file:`.pem` file that contains both the TLS/SSL certificate and key. Specify the file name of the :file:`.pem` file using relative @@ -704,7 +709,10 @@ SSL Options (Deprecated) .. option:: --sslPEMKeyPassword - .. deprecated:: 4.2 Use :option:`--tlsCertificateKeyFilePassword ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsCertificateKeyFilePassword + ` instead. Specifies the password to de-crypt the certificate-key file (i.e. ``--sslPEMKeyFile``). Use the :option:`--sslPEMKeyPassword` option only if the @@ -720,9 +728,10 @@ SSL Options (Deprecated) .. option:: --sslCAFile - .. deprecated:: 4.2 Use :option:`--tlsCAFile ` instead. - - + .. deprecated:: 4.2 + + Use :option:`--tlsCAFile ` instead. + Specifies the :file:`.pem` file that contains the root certificate chain from the Certificate Authority. Specify the file name of the :file:`.pem` file using relative or absolute paths. @@ -735,7 +744,10 @@ SSL Options (Deprecated) .. option:: --sslCertificateSelector = - .. deprecated:: 4.2 Use :option:`--tlsCertificateSelector ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsCertificateSelector + ` instead. .. versionadded:: 4.0 @@ -758,7 +770,9 @@ SSL Options (Deprecated) .. option:: --sslCRLFile - .. deprecated:: 4.2 Use :option:`--tlsCRLFile ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsCRLFile ` instead. Specifies the :file:`.pem` file that contains the Certificate Revocation List. Specify the file name of the :file:`.pem` file using relative or @@ -777,7 +791,9 @@ SSL Options (Deprecated) .. option:: --sslFIPSMode - .. deprecated:: 4.2 Use :option:`--tlsFIPSMode ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsFIPSMode ` instead. Directs the :program:`mongo` to use the FIPS mode of the TLS/SSL library. Your system must have a FIPS compliant library to use @@ -788,8 +804,10 @@ SSL Options (Deprecated) .. option:: --sslAllowInvalidCertificates - .. deprecated:: 4.2 Use :option:`--tlsAllowInvalidCertificates ` instead. - + .. deprecated:: 4.2 + + Use :option:`--tlsAllowInvalidCertificates + ` instead. Bypasses the validation checks for server certificates and allows the use of invalid certificates to connect. @@ -808,7 +826,10 @@ SSL Options (Deprecated) .. option:: --sslAllowInvalidHostnames - .. deprecated:: 4.2 Use :option:`--tlsAllowInvalidHostnames ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsAllowInvalidHostnames + ` instead. Disables the validation of the hostnames in TLS/SSL certificates. Allows :program:`mongo` to connect to MongoDB instances even if the hostname in their @@ -820,7 +841,10 @@ SSL Options (Deprecated) .. option:: --sslDisabledProtocols - .. deprecated:: 4.2 Use :option:`--tlsDisabledProtocols ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsDisabledProtocols + ` instead. Disables the specified TLS protocols. The option recognizes the following protocols: ``TLS1_0``, ``TLS1_1``, ``TLS1_2``, and diff --git a/source/reference/program/mongod.txt b/source/reference/program/mongod.txt index 971a675ff86..6f720df1f4f 100644 --- a/source/reference/program/mongod.txt +++ b/source/reference/program/mongod.txt @@ -2439,7 +2439,9 @@ SSL Options (Deprecated) .. option:: --sslOnNormalPorts - .. deprecated:: 2.6 Use :option:`--tlsMode requireTLS <--tlsMode>` instead. + .. deprecated:: 2.6 + + Use :option:`--tlsMode requireTLS <--tlsMode>` instead. Enables TLS/SSL for :program:`mongod`. @@ -2453,7 +2455,9 @@ SSL Options (Deprecated) .. option:: --sslMode - .. deprecated:: 4.2 Use :option:`--tlsMode ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsMode ` instead. Enables TLS/SSL or mixed TLS/SSL used for all network connections. The argument to the :option:`--sslMode` option can be one of the following: @@ -2492,7 +2496,10 @@ SSL Options (Deprecated) .. option:: --sslPEMKeyFile - .. deprecated:: 4.2 Use :option:`--tlsCertificateKeyFile ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsCertificateKeyFile + ` instead. Specifies the :file:`.pem` file that contains both the TLS/SSL certificate and key. @@ -2524,7 +2531,10 @@ SSL Options (Deprecated) .. option:: --sslPEMKeyPassword - .. deprecated:: 4.2 Use :option:`--tlsCertificateKeyFilePassword ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsCertificateKeyFilePassword + ` instead. Specifies the password to de-crypt the certificate-key file (i.e. :option:`--sslPEMKeyFile`). Use the :option:`--sslPEMKeyPassword` option only if the @@ -2552,7 +2562,9 @@ SSL Options (Deprecated) .. option:: --sslClusterFile - .. deprecated:: 4.2 Use :option:`--tlsClusterFile ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsClusterFile ` instead. Specifies the :file:`.pem` file that contains the x.509 certificate-key file for :ref:`membership authentication @@ -2585,7 +2597,10 @@ SSL Options (Deprecated) .. option:: --sslCertificateSelector = - .. deprecated:: 4.2 Use :option:`--tlsCertificateSelector ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsCertificateSelector + ` instead. .. versionadded:: 4.0 @@ -2624,7 +2639,10 @@ SSL Options (Deprecated) .. option:: --sslClusterCertificateSelector = - .. deprecated:: 4.2 Use :option:`--tlsClusterCertificateSelector ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsClusterCertificateSelector + ` instead. .. versionadded:: 4.0 @@ -2663,7 +2681,10 @@ SSL Options (Deprecated) .. option:: --sslClusterPassword - .. deprecated:: 4.2 Use :option:`--tlsClusterPassword ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsClusterPassword + ` instead. Specifies the password to de-crypt the x.509 certificate-key file specified with ``--sslClusterFile``. Use the :option:`--sslClusterPassword` option only @@ -2690,7 +2711,9 @@ SSL Options (Deprecated) .. option:: --sslCAFile - .. deprecated:: 4.2 Use :option:`--tlsCAFile ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsCAFile ` instead. Specifies the :file:`.pem` file that contains the root certificate chain from the Certificate Authority. Specify the file name of the @@ -2709,7 +2732,10 @@ SSL Options (Deprecated) .. option:: --sslClusterCAFile - .. deprecated:: 4.2 Use :option:`--tlsClusterCAFile ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsClusterCAFile ` + instead. Specifies the :file:`.pem` file that contains the root certificate chain from the Certificate Authority used to validate the certificate @@ -2742,7 +2768,9 @@ SSL Options (Deprecated) .. option:: --sslCRLFile - .. deprecated:: 4.2 Use :option:`--tlsCRLFile ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsCRLFile ` instead. Specifies the :file:`.pem` file that contains the Certificate Revocation List. Specify the file name of the :file:`.pem` file using relative or @@ -2770,7 +2798,10 @@ SSL Options (Deprecated) .. option:: --sslAllowInvalidCertificates - .. deprecated:: 4.2 Use :option:`--tlsAllowInvalidCertificates ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsAllowInvalidCertificates + ` instead. Bypasses the validation checks for TLS/SSL certificates on other servers in the cluster and allows the use of invalid certificates to @@ -2789,7 +2820,10 @@ SSL Options (Deprecated) .. option:: --sslAllowInvalidHostnames - .. deprecated:: 4.2 Use :option:`--tlsAllowInvalidHostnames ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsAllowInvalidHostnames + ` instead. Disables the validation of the hostnames in TLS/SSL certificates, when connecting to other members of the replica set or sharded cluster @@ -2802,7 +2836,10 @@ SSL Options (Deprecated) .. option:: --sslAllowConnectionsWithoutCertificates - .. deprecated:: 4.2 Use :option:`--tlsAllowConnectionsWithoutCertificates ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsAllowConnectionsWithoutCertificates + ` instead. For clients that do not present certificates, :program:`mongod` bypasses TLS/SSL certificate validation when establishing the connection. @@ -2819,7 +2856,10 @@ SSL Options (Deprecated) .. option:: --sslDisabledProtocols - .. deprecated:: 4.2 Use :option:`--tlsDisabledProtocols ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsDisabledProtocols + ` instead. Prevents a MongoDB server running with TLS/SSL from accepting incoming connections that use a specific protocol or protocols. To @@ -2853,7 +2893,9 @@ SSL Options (Deprecated) .. option:: --sslFIPSMode - .. deprecated:: 4.2 Use :option:`--tlsFIPSMode ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsFIPSMode ` instead. Directs the :program:`mongod` to use the FIPS mode of the TLS/SSL library. Your system must have a FIPS diff --git a/source/reference/program/mongos.txt b/source/reference/program/mongos.txt index 507b08a74ef..cdd6925f5d9 100644 --- a/source/reference/program/mongos.txt +++ b/source/reference/program/mongos.txt @@ -1103,7 +1103,9 @@ SSL Options (Deprecated) .. option:: --sslOnNormalPorts - .. deprecated:: 2.6 Use :option:`--tlsMode requireTLS <--tlsMode>` instead. + .. deprecated:: 2.6 + + Use :option:`--tlsMode requireTLS <--tlsMode>` instead. Enables TLS/SSL for :program:`mongos`. @@ -1117,7 +1119,9 @@ SSL Options (Deprecated) .. option:: --sslMode - .. deprecated:: 4.2 Use :option:`--tlsMode ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsMode ` instead. Enables TLS/SSL or mixed TLS/SSL used for all network connections. The argument to the :option:`--sslMode` option can be one of the following: @@ -1156,7 +1160,10 @@ SSL Options (Deprecated) .. option:: --sslPEMKeyFile - .. deprecated:: 4.2 Use :option:`--tlsPEMKeyFile ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsPEMKeyFile ` + instead. .. note:: @@ -1177,7 +1184,10 @@ SSL Options (Deprecated) .. option:: --sslPEMKeyPassword - .. deprecated:: 4.2 Use :option:`--tlsPEMKeyPassword ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsPEMKeyPassword + ` instead. Specifies the password to de-crypt the certificate-key file (i.e. :option:`--sslPEMKeyFile`). Use the :option:`--sslPEMKeyPassword` option only if the @@ -1201,7 +1211,9 @@ SSL Options (Deprecated) .. option:: --sslClusterFile - .. deprecated:: 4.2 Use :option:`--tlsClusterFile ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsClusterFile ` instead. .. note:: @@ -1227,7 +1239,10 @@ SSL Options (Deprecated) .. option:: --sslClusterPassword - .. deprecated:: 4.2 Use :option:`--tlsClusterPassword ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsClusterPassword + ` instead. Specifies the password to de-crypt the x.509 certificate-key file specified with ``--sslClusterFile``. Use the :option:`--sslClusterPassword` option only @@ -1253,7 +1268,9 @@ SSL Options (Deprecated) .. option:: --sslCAFile - .. deprecated:: 4.2 Use :option:`--tlsCAFile ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsCAFile ` instead. Specifies the :file:`.pem` file that contains the root certificate chain from the Certificate Authority. Specify the file name of the @@ -1270,7 +1287,10 @@ SSL Options (Deprecated) .. option:: --sslClusterCAFile - .. deprecated:: 4.2 Use :option:`--tlsClusterCAFile ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsClusterCAFile ` + instead. Specifies the :file:`.pem` file that contains the root certificate chain from the Certificate Authority used to validate the certificate @@ -1297,7 +1317,10 @@ SSL Options (Deprecated) .. option:: --sslCertificateSelector = - .. deprecated:: 4.2 Use :option:`--tlsCertificateSelector ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsCertificateSelector + ` instead. .. versionadded:: 4.0 @@ -1320,7 +1343,10 @@ SSL Options (Deprecated) .. option:: --sslClusterCertificateSelector = - .. deprecated:: 4.2 Use :option:`--tlsClusterCertificateSelector ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsClusterCertificateSelector + ` instead. .. versionadded:: 4.0 @@ -1344,7 +1370,9 @@ SSL Options (Deprecated) .. option:: --sslCRLFile - .. deprecated:: 4.2 Use :option:`--tlsCRLFile ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsCRLFile ` instead. Specifies the :file:`.pem` file that contains the Certificate Revocation List. Specify the file name of the :file:`.pem` file using relative or @@ -1371,7 +1399,10 @@ SSL Options (Deprecated) .. option:: --sslAllowConnectionsWithoutCertificates - .. deprecated:: 4.2 Use :option:`--tlsAllowConnectionsWithoutCertificates ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsAllowConnectionsWithoutCertificates + ` instead. For clients that do not present certificates, :program:`mongos` bypasses TLS/SSL certificate validation when establishing the connection. @@ -1389,7 +1420,10 @@ SSL Options (Deprecated) .. option:: --sslAllowInvalidCertificates - .. deprecated:: 4.2 Use :option:`--tlsAllowInvalidCertificates ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsAllowInvalidCertificates + ` instead. Bypasses the validation checks for TLS/SSL certificates on other servers in the cluster and allows the use of invalid certificates to @@ -1408,7 +1442,10 @@ SSL Options (Deprecated) .. option:: --sslAllowInvalidHostnames - .. deprecated:: 4.2 Use :option:`--tlsAllowInvalidHostnames ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsAllowInvalidHostnames + ` instead. Disables the validation of the hostnames in TLS/SSL certificates, when connecting to other members of the replica set or sharded cluster @@ -1421,7 +1458,10 @@ SSL Options (Deprecated) .. option:: --sslDisabledProtocols - .. deprecated:: 4.2 Use :option:`--tlsDisabledProtocols ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsDisabledProtocols + ` instead. Prevents a MongoDB server running with TLS/SSL from accepting incoming connections that use a specific protocol or protocols. To @@ -1455,7 +1495,9 @@ SSL Options (Deprecated) .. option:: --sslFIPSMode - .. deprecated:: 4.2 Use :option:`--tlsFIPSMode ` instead. + .. deprecated:: 4.2 + + Use :option:`--tlsFIPSMode ` instead. Directs the :program:`mongos` to use the FIPS mode of the TLS/SSL library. Your system must have a FIPS