1.1.20 Ensure that the Kubernetes PKI certificate file permissions are set to 644 or more restrictive

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Ensure that Kubernetes PKI certificate files have permissions of 644 or more restrictive.

Rationale:

Kubernetes makes use of a number of certificate files as part of the operation of its components. The permissions on these files should be set to 644 or more restrictive to protect their integrity.

Impact:

None

Solution

Run the below command (based on the file location on your system) on the master node. For example,

chmod -R 644 /etc/kubernetes/pki/*.crt

Default Value:

By default, the certificates used by Kubernetes are set to have permissions of 644

See Also

https://workbench.cisecurity.org/files/3371

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CSCv6|5.1, CSCv7|4

Plugin: Unix

Control ID: 18c4d0353a77e2a7d4fee4998bffa39d2ce9a38a127b03ae92c48d023f2a0e16