DKER-EE-005300 - Docker Enterprise server certificate key file permissions must be set to 400.

Information

Verify that the Docker server certificate key file (the file that is passed along with --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.

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.

Solution

Set the Docker server certificate key file permissions to 400.

Run the following command:
chmod 400 <path to Docker server certificate key file>

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Docker_Enterprise_2-x_Linux-UNIX_V2R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CAT|I, CCI|CCI-000366, CSCv6|3.1, Rule-ID|SV-235864r627719_rule, STIG-ID|DKER-EE-005300, STIG-Legacy|SV-104903, STIG-Legacy|V-95765, Vuln-ID|V-235864

Plugin: Unix

Control ID: ca3ccca9221567058dff543aca290f01646522326301124efbe8820fca3cc28f