3.12 Ensure that Docker server certificate file permissions are set to 444 or more restrictive

Information

Verify that the Docker server certificate file (the file that is passed alongwith --tlscert parameter) has permissions of 444 or more restrictive.
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 have permissions of 444 to maintain the integrity of the certificate.

Solution

chmod 444 <path to Docker server certificate file>
This would set the file permissions of the Docker server file to 444.
Impact:
None.
Default Value:
By default, the permissions for Docker server certificate file might not be 444. The default file permissions are governed by the system or user specific umask values.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 42a0f384d54abee324e4540fe716612ca96a7dbb4b5eabd9fe809249714f901e