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

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.

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

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CSCv6|5.1

Plugin: Unix

Control ID: 00afbc74a89aa8724dafd63af150bdc743ab8774c116723cdcfc798f8daadce7