File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -955,6 +955,33 @@ Logging Parameters
955
955
956
956
.. seealso:: :setting:`systemLog.traceAllExceptions`
957
957
958
+
959
+ .. parameter:: suppressNoTLSPeerCertificateWarning
960
+
961
+ .. versionadded:: 4.0.1
962
+
963
+ |both|
964
+
965
+ *Type*: boolean
966
+
967
+ *Default*: false
968
+
969
+ By default, a :binary:`~bin.mongod` or :binary:`~bin.mongos` with
970
+ :doc:`TLS/SSL enabled </tutorial/configure-ssl>` and
971
+ :setting:`net.ssl.allowConnectionsWithoutCertificates` : ``true``
972
+ lets clients connect without providing a certificate for
973
+ validation while logging an warning. Set
974
+ ``suppressNoTLSPeerCertificateWarning`` to ``1`` or ``true`` to
975
+ suppress those warnings.
976
+
977
+ The following operation sets ``suppressNoTLSPeerCertificateWarning``
978
+ to ``true``:
979
+
980
+ .. code-block:: sh
981
+
982
+ db.adminCommand( { setParameter: 1, suppressNoTLSPeerCertificateWarning: true} )
983
+
984
+
958
985
.. _param-ftdc:
959
986
960
987
Diagnostic Parameters
You can’t perform that action at this time.
0 commit comments