3.24 Verify that Docker server certificate key file permissions are set to 400

Information

Verify that the Docker server certificate key file (the file that is passed alongwith '--
tlskey' parameter) has permissions of '400'.

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 have
permissions of '400' to maintain the integrity of the Docker server certificate.

Solution

#> chmod 400 <path to Docker server certificate key file>
This would set the Docker server certificate key file permissions to '400'.

Impact-None.

Default Value-By default, the permissions for Docker server certificate key file might not be '400'. The
default file permissions are governed by the system or user specific umask values.

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: db3be837aeb5edd5da2d7f1cb7ac4c9fcb2783b3c1c59dc70382b03dd2c412d3