3.12 Verify 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, itmust 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/1476

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b.

Plugin: Unix

Control ID: e67a2512e7ec25a4c6c3d7b19f74e1eb6d5b7674b99a3ac9c2ea6d2be5b890a0