CNTR-K8-003330 - The Kubernetes PKI CRT must have file permissions set to 644 or more restrictive.

Information

The Kubernetes PKI directory contains all certificates (.crt files) supporting secure network communications in the Kubernetes Control Plane. If these files can be modified, data traversing within the architecture components would become unsecure and compromised.

Solution

Change the ownership of the cert files to '644' by executing the command:

find /etc/kubernetes/pki -name '*.crt' | xargs chmod 644

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Kubernetes_V2R5_STIG.zip