Docker Enterprise TLS certificate authority (CA) certificate file permissions must be set to 444 or more restrictive.
An XCCDF Rule
Description
<VulnDiscussion>Verify that the TLS CA certificate file (the file that is passed along with --TLScacert parameter) has permissions of 444 or more restrictive. The TLS CA certificate file should be protected from any tampering. It is used to authenticate Docker server based on given CA certificate. Hence, it must have permissions of 444 to maintain the integrity of the CA certificate. By default, the permissions for TLS CA certificate file might not be 444. The default file permissions are governed by the system or user specific umask values.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-235860r627707_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
chmod 444 <path to TLS CA certificate file>
This sets the file permissions of the TLS CA file to 444.