3.11 Ensure that Docker server certificate file ownership is set to root:root

Information

Verify that the Docker server certificate file (the file that is passed alongwith --tlscert parameter) is owned and group-owned by root.
Rationale:
The Docker server certificate file should be protected from any tampering. It is used to authenticate Docker server based on the given server certificate. Hence, it must be owned and group-owned by root to maintain the integrity of the certificate.

Solution

chown root:root <path to Docker server certificate file>
This would set the ownership and group-ownership for the Docker server certificate file to root.
Impact:
None.
Default Value:
By default, the ownership and group-ownership for Docker server certificate file is correctly set to root.

See Also

https://workbench.cisecurity.org/files/1726

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CSCv6|5.1

Plugin: Unix

Control ID: 7e3ab096246e61c547fedabb1be09b350c7a8e06810885f2cb3f5413a6acdf62