1.1.19 Ensure that the Kubernetes PKI directory and file ownership is set to root:root

Information

Ensure that the Kubernetes PKI directory and file ownership is set to root:root

Kubernetes makes use of a number of certificates as part of its operation. You should set the ownership of the directory containing the PKI information and all files in that directory to maintain their integrity. The directory and files should be owned by root:root

Solution

Run the below command (based on the file location on your system) on the Control Plane node. For example,

chown -R root:root /etc/kubernetes/pki/

Impact:

None

See Also

https://workbench.cisecurity.org/benchmarks/17568

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 4af48753210d34126239902a7d2ab705afe885f0bab9e268566f25c526098407