SV-265925r1043181_rule
V-265925
SRG-APP-000224-DB-000384
MD7X-00-004900
CAT II
10
Edit the MongoDB configuration file to ensure the "net.tls.mode" option is included and set to the value "requireTLS" as shown below:
net:
tls:
mode: requireTLS
Restart the MongoDB service from the OS
$ sudo systemctl restart mongod
Further documentation is here:
https://www.mongodb.com/docs/v7.0/tutorial/configure-ssl/
Check the MongoDB configuration file (default location: /etc/mongod.conf).
The following option must be present ( "net.tls.mode") and set to "requireTLS":
net:
tls:
mode: requireTLS
If this is not found in the MongoDB configuration file, this is a finding.
V-265925
False
MD7X-00-004900
Check the MongoDB configuration file (default location: /etc/mongod.conf).
The following option must be present ( "net.tls.mode") and set to "requireTLS":
net:
tls:
mode: requireTLS
If this is not found in the MongoDB configuration file, this is a finding.
M
5637