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_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: ee2f8903413f9b5ec788b0c4f9474c813d661ce535e123db0d78620d804045f3