CNTR-K8-001460 - Kubernetes Kubelet must enable tls-private-key-file for client authentication to secure service.


Kubernetes container and pod configuration are maintained by Kubelet. Kubelet agents register nodes with the API Server, mount volume storage, and perform health checks for containers and pods. Anyone who gains access to Kubelet agents can effectively control applications within the pods and containers. Using authenticity protection, the communication can be protected against man-in-the-middle attacks/session hijacking and the insertion of false information into sessions.

The communication session is protected by utilizing transport encryption protocols, such as TLS. TLS provides the Kubernetes API Server with a means to be able to authenticate sessions and encrypt traffic.

To enable encrypted communication for Kubelet, the tls-private-key-file must be set. This parameter gives the location of the SSL Certificate Authority file used to secure Kubelet communication.


Edit the Kubernetes Kuberlet file in the /etc/sysconfig directory on the Kubernetes Master Node. Set the argument tls-private-key-file to an Approved Organization Certificate. Reset Kubelet service using the following command:

service kubelet restart

See Also

Item Details


References: 800-53|SC-23, CAT|II, CCI|CCI-001184, Rule-ID|SV-242424r799988_rule, STIG-ID|CNTR-K8-001460, Vuln-ID|V-242424

Plugin: Unix

Control ID: 0a839f136ca6e88ba85aa4992b75a13bb83654193ac2b3cac20e99bca0528e60