Details
Verify that the Docker server certificate key file (the file that is passed alongwith ‘–tlskey’parameter) is owned and group-owned by ‘root’.
Rationale:
The Docker server certificate key file should be protected from any tampering or unneeded reads. It holds the private key for the Docker server certificate.Hence, itmust be owned and group-owned by ‘root’ to maintain the integrity of the Docker server certificate.
Solution
chown root:root This would set the ownership and group-ownership for the Docker server certificate key file to ‘root’. Impact: None. Default Value: By default, the ownership and group-ownership for Docker server certificate key file is correctly set to ‘root’. The following resource is also helpful. This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.Supportive Information
References
Source