SV-96583r1_rule
V-81869
SRG-APP-000172-DB-000075
MD3X-00-000340
CAT II
10
In the MongoDB database configuration file (default location: /etc/mongod.conf) ensure the following parameters following parameter are set and configured correctly:
net:
ssl:
mode: requireSSL
PEMKeyFile: /etc/ssl/mongodb.pem
CAFile: /etc/ssl/mongodbca.pem
Remove any occurrence of the "allowInvalidCertificates" parameter:
net:
ssl:
allowInvalidCertificates: true
Stop/start (restart) the mongod or mongos instance using this configuration.
In the MongoDB database configuration file (default location: /etc/mongod.conf), review the following parameters:
net:
ssl:
mode: requireSSL
PEMKeyFile: /etc/ssl/mongodb.pem
CAFile: /etc/ssl/mongodbca.pem
If the "CAFile" parameter is not present, this is a finding.
If the "allowInvalidCertificates" parameter is found, this is a finding.
net:
ssl:
allowInvalidCertificates: true
V-81869
False
MD3X-00-000340
In the MongoDB database configuration file (default location: /etc/mongod.conf), review the following parameters:
net:
ssl:
mode: requireSSL
PEMKeyFile: /etc/ssl/mongodb.pem
CAFile: /etc/ssl/mongodbca.pem
If the "CAFile" parameter is not present, this is a finding.
If the "allowInvalidCertificates" parameter is found, this is a finding.
net:
ssl:
allowInvalidCertificates: true
M
3265