UCF STIG Viewer Logo

Docker Enterprise server certificate key file permissions must be set to 400.


Overview

Finding ID Version Rule ID IA Controls Severity
V-235864 DKER-EE-005300 SV-235864r627719_rule High
Description
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.
STIG Date
Docker Enterprise 2.x Linux/UNIX Security Technical Implementation Guide 2021-03-26

Details

Check Text ( C-39083r627717_chk )
Ensure that Docker server certificate key file permissions are set to 400.

Execute the below command to verify that the Docker server certificate key file has permissions of 400:

stat -c %a

If the permissions are not set to 400, this is a finding.
Fix Text (F-39046r627718_fix)
Set the Docker server certificate key file permissions to 400.

Run the following command:
chmod 400