DKER-EE-005240 - Docker Enterprise registry certificate file permissions must be set to 444 or more restrictive.

Information

Verify that all the registry certificate files (usually found under /etc/docker/certs.d/<registry-name> directory) have permissions of 444 or more restrictive.

/etc/docker/certs.d/<registry-name> directory contains Docker registry certificates. These certificate files must have permissions of 444 to maintain the integrity of the certificates.

By default, the permissions for registry certificate files might not be 444. The default file permissions are governed by the system or user specific umaskvalues.

Solution

Set the permissions for registry certificate files to 444.

Run the following command:
chmod 444 /etc/docker/certs.d/<registry-name>/*

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|II, CCI|CCI-000366, Rule-ID|SV-235858r961863_rule, STIG-ID|DKER-EE-005240, STIG-Legacy|SV-104891, STIG-Legacy|V-95753, Vuln-ID|V-235858

Plugin: Unix

Control ID: 40273e42af5558c03d0e96fc48fbc66c44a1d5475c6810d9ca7282d202156c23