Skip to content

Verify User Who Owns The OpenShift PKI Certificate Files

An XCCDF Rule

Description

To properly set the owner of /etc/kubernetes/static-pod-resources/*/*/*/tls.crt, run the command:

$ sudo chown root /etc/kubernetes/static-pod-resources/*/*/*/tls.crt 

warning alert: Dependency Warning

This rule is only applicable for nodes that run the Kubernetes Control Plane. The aforementioned service is only running on the nodes labeled "master" by default.

Rationale

OpenShift makes use of a number of certificates as part of its operation. You should verify the ownership of the directory containing the PKI information and all files in that directory to maintain their integrity.

ID
xccdf_org.ssgproject.content_rule_file_owner_openshift_pki_cert_files
Severity
Medium
References
Updated