CNTR-K8-003340 - The Kubernetes PKI keys must have file permissions set to 600 or more restrictive.

Information

The Kubernetes PKI directory contains all certificate key 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 key files to "600" by executing the command:

find /etc/kubernetes/pki -name "*.key" | xargs chmod 600

See Also

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