1. Home
  2. Security Hardening
  3. CIS Docker 1.6 V1.0.0 L1 Docker
  4. Verify that Docker server certificate key file permissions are set to 400

Verify that Docker server certificate key file permissions are set to 400

Details

Verify that the Docker server certificate key file (the file that is passed alongwith ‘–

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.

Solution

#> chmod 400 This would set the Docker server certificate key file permissions to ‘400’.

Impact-None.

Default Value-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.

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles