Skip to content

Commit b7f1dd5

Browse files
(DOCS-12321): Document new TLS version logging configuration option
1 parent 2d2c5c3 commit b7f1dd5

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

source/reference/configuration-options.txt

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@ Core Options
789789
allowInvalidHostnames: <boolean>
790790
disabledProtocols: <string>
791791
FIPSMode: <boolean>
792+
logVersions: <string>
792793
compression:
793794
compressors: <string>
794795
serviceExecutor: <string>
@@ -831,12 +832,16 @@ Core Options
831832
may attach :binary:`~bin.mongos` or :binary:`~bin.mongod` to any interface. To bind to multiple
832833
addresses, enter a list of comma-separated values.
833834

834-
.. example:: ``localhost,/tmp/mongod.sock``
835+
.. example::
836+
837+
``localhost,/tmp/mongod.sock``
835838

836839
You can specify both IPv4 and IPv6 addresses, or hostnames that
837840
resolve to an IPv4 or IPv6 address.
838841

839-
.. example:: ``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``
842+
.. example::
843+
844+
``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``
840845

841846
.. note::
842847

@@ -851,7 +856,9 @@ Core Options
851856
`zone index <https://en.wikipedia.org/w/index.php?title=IPv6_address&oldid=877601778#Scoped_literal_IPv6_addresses>`_
852857
to that address (i.e. ``fe80::<address>%<adapter-name>``).
853858

854-
.. example:: ``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``
859+
.. example::
860+
861+
``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``
855862

856863
.. include:: /includes/tip-hostnames.rst
857864

@@ -1058,6 +1065,7 @@ Core Options
10581065
allowInvalidHostnames: <boolean>
10591066
disabledProtocols: <string>
10601067
FIPSMode: <boolean>
1068+
logVersions: <string>
10611069

10621070
.. setting:: net.ssl.sslOnNormalPorts
10631071

@@ -1506,6 +1514,23 @@ Core Options
15061514

15071515
.. include:: /includes/note-fips-is-enterprise-only.rst
15081516

1517+
.. setting:: net.tls.logVersions
1518+
1519+
*Type*: string
1520+
1521+
Instructs :binary:`~bin.mongos` or :binary:`~bin.mongod` to log a
1522+
message when a client connects using a specified TLS version.
1523+
1524+
Specify either a single TLS version or a comma-separated list of
1525+
multiple TLS versions.
1526+
1527+
.. example::
1528+
1529+
To instruct :binary:`~bin.mongos` or :binary:`~bin.mongod` to
1530+
log a message when a client connects using either TLS 1.2 or
1531+
TLS 1.3, set :setting:`net.tls.logVersions` to
1532+
``"TLS1_2,TLS1_3"``.
1533+
15091534

15101535

15111536
``net.compression`` Option

0 commit comments

Comments
 (0)