3.23 Verify that Docker server certificate key file ownership is set to root:root

Information

Verify that the Docker server certificate key file (the file that is passed alongwith '--
tlskey' parameter) is owned and group-owned by 'root'.

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, it must be owned
and group-owned by 'root' to maintain the integrity of the Docker server certificate.

Solution

#> chown root-root <path to Docker server certificate key file>
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'.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 6a6ddff65d03890996a9c945c79163bff247f96f2d48fa39358a126dbafab20f