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

Information

You should verify that the Docker server certificate file (the file that is passed along with the --tlscert parameter) is individual owned and group owned by root

The Docker server certificate file should be protected from any tampering. It is used to authenticate the Docker server based on the given server certificate. It must therefore be individually owned and group owned by root to prevent modification by less privileged users.

Solution

You should run the following command:

chown root:root <path to Docker server certificate file>

This sets the individual ownership and the group ownership for the Docker server certificate file to root

Impact:

None.

See Also

https://workbench.cisecurity.org/benchmarks/16041

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6(2), 800-53|AC-6(5)

Plugin: Unix

Control ID: 28eb289d5db278129234fae37198d3d3710b5ff07b32ef631895d342c4a95910