Skip to content

Commit 2632c40

Browse files
Isabella Siukay-kim
authored andcommitted
DOCS-11810 add suppressNoTLSPeerCertificateWarning parameter
1 parent 13c6b14 commit 2632c40

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

source/reference/parameters.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,33 @@ Logging Parameters
955955

956956
.. seealso:: :setting:`systemLog.traceAllExceptions`
957957

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+
958985
.. _param-ftdc:
959986

960987
Diagnostic Parameters

0 commit comments

Comments
 (0)