Skip to content

Commit a555924

Browse files
(DOCS-12321): Document new TLS version logging configuration option
1 parent b8fd7e5 commit a555924

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
@@ -866,6 +866,7 @@ Core Options
866866
allowInvalidHostnames: <boolean>
867867
disabledProtocols: <string>
868868
FIPSMode: <boolean>
869+
logVersions: <string>
869870
compression:
870871
compressors: <string>
871872
serviceExecutor: <string>
@@ -908,12 +909,16 @@ Core Options
908909
may attach :binary:`~bin.mongos` or :binary:`~bin.mongod` to any interface. To bind to multiple
909910
addresses, enter a list of comma-separated values.
910911

911-
.. example:: ``localhost,/tmp/mongod.sock``
912+
.. example::
913+
914+
``localhost,/tmp/mongod.sock``
912915

913916
You can specify both IPv4 and IPv6 addresses, or hostnames that
914917
resolve to an IPv4 or IPv6 address.
915918

916-
.. example:: ``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``
919+
.. example::
920+
921+
``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``
917922

918923
.. note::
919924

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

931-
.. example:: ``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``
936+
.. example::
937+
938+
``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``
932939

933940
.. include:: /includes/tip-hostnames.rst
934941

@@ -1149,6 +1156,7 @@ Core Options
11491156
allowInvalidHostnames: <boolean>
11501157
disabledProtocols: <string>
11511158
FIPSMode: <boolean>
1159+
logVersions: <string>
11521160

11531161
.. setting:: net.tls.mode
11541162

@@ -1591,6 +1599,23 @@ Core Options
15911599

15921600
.. include:: /includes/note-fips-is-enterprise-only.rst
15931601

1602+
.. setting:: net.tls.logVersions
1603+
1604+
*Type*: string
1605+
1606+
Instructs :binary:`~bin.mongos` or :binary:`~bin.mongod` to log a
1607+
message when a client connects using a specified TLS version.
1608+
1609+
Specify either a single TLS version or a comma-separated list of
1610+
multiple TLS versions.
1611+
1612+
.. example::
1613+
1614+
To instruct :binary:`~bin.mongos` or :binary:`~bin.mongod` to
1615+
log a message when a client connects using either TLS 1.2 or
1616+
TLS 1.3, set :setting:`net.tls.logVersions` to
1617+
``"TLS1_2,TLS1_3"``.
1618+
15941619

15951620
.. _net-ssl-conf-options:
15961621

0 commit comments

Comments
 (0)