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: 34975687850d2666fe1b5add80a510b357e4e22f875a51ee3734c77c5bc9907a