Docker Enterprise TLS certificate authority (CA) certificate file ownership must be set to root:root.
An XCCDF Rule
Description
<VulnDiscussion>Verify that the TLS CA certificate file (the file that is passed along with --TLScacert parameter) is owned and group-owned by root. 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 be owned and group-owned by root to maintain the integrity of the CA certificate. By default, the ownership and group-ownership for TLS CA certificate file is correctly set to root.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-235859r627704_rule
- Severity
- High
- References
- Updated
Remediation - Manual Procedure
Set the ownership and group-ownership for the TLS CA certificate file to root.
Run the following command:
chown root:root <path to TLS CA certificate file>