More Info:
Ensure that Kubernetes PKI certificate files have permissions of 644 or more restrictive.Risk Level
HighAddress
SecurityCompliance Standards
- CIS Kubernetes
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
On every control plane node, list current certificate permissions for awareness:
-
Still on each control plane node, restrict permissions on all Kubernetes PKI certificate files:
-
Ensure the certificate files are owned by root (adjust if needed):
-
Recheck permissions, ownership, and group to confirm they are at most 644 and root-owned:
-
On each control plane node, run the benchmark audit command to verify compliance:
Using kubectl
Using kubectl
kubectl cannot modify file permissions on control plane nodes, so this finding cannot be fixed through Kubernetes API objects. To remediate it, adjust the certificate file permissions directly on every control plane node’s filesystem (for example under
/etc/kubernetes/pki) as described in the Manual Steps section.Automation
Automation

