STIGUI
V-279412CAT II — Medium severitySV-279412r1179403_rule

MongoDB must provide protected storage for cryptographic keys with organization-defined safeguards and/or hardware protected key store.

Rule version MD8X-00-014100 · STIG v1 · 2026-02-20

Discussion

A Trusted Platform Module (TPM) is an example of a hardware-protected data store that can be used to protect cryptographic keys.

Check

Check the MongoDB configuration file (default location /etc/mongod.conf) for a key named "net.tls.CAFile".

Example shown below:

net: tls: mode: requireTLS certificateKeyFile: /etc/ssl/mongodb.pem CAFile: /etc/ssl/caToValidateClientCertificates.pem ocsp: enabled: true responderURL: <your organization's OCSP responder URL>

Run the following command on the file indicated by this key:

stat /etc/ssl/caToValidateClientCertificates.pem

If the output does not show file permissions of "-rw-------", this is a finding.

Fix

Check the MongoDB configuration file (default location /etc/mongod.conf) for a key named "net.tls.CAFile".

Example shown below:

net: tls: mode: requireTLS certificateKeyFile: /etc/ssl/mongodb.pem CAFile: /etc/ssl/caToValidateClientCertificates.pem ocsp: enabled: true responderURL: <your organization's OCSP responder URL>

Run the following commands on the file indicated by this key:

chmod 600 /etc/ssl/caToValidateClientCertificates.pem

Identifiers

Group ID
V-279412
Group title
SRG-APP-000915-DB-000310
Rule ID
SV-279412r1179403_rule
Check ID
C-83965r1179401_chk
Fix ID
F-83870r1179402_fix