1.4.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'.

Rationale:

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 master node. For example,

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

See Also

https://workbench.cisecurity.org/files/2421

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CSCv6|5.1

Plugin: Unix

Control ID: 4da63e944385242d10bf03068c7357706d882c2a95f8facd3df086251c094a68