SV-242425r1043178_rule
V-242425
SRG-APP-000219-CTR-000550
CNTR-K8-001470
CAT II
10
On the Control Plane, run the command:
ps -ef | grep kubelet
Remove the "--tls-cert-file" option if present.
Note the path to the config file (identified by --config).
Edit the Kubernetes Kubelet config file:
Set "tlsCertFile" to a path containing an Approved Organization Certificate.
Restart the kubelet service using the following command:
systemctl daemon-reload && systemctl restart kubelet
On the Control Plane, run the command:
ps -ef | grep kubelet
If the argument for "--tls-cert-file" option exists, this is a finding.
Note the path to the config file (identified by --config).
Run the command:
grep -i tlsCertFile <path_to_config_file>
If the setting "tlsCertFile" is not set or contains no value, this is a finding.
V-242425
False
CNTR-K8-001470
On the Control Plane, run the command:
ps -ef | grep kubelet
If the argument for "--tls-cert-file" option exists, this is a finding.
Note the path to the config file (identified by --config).
Run the command:
grep -i tlsCertFile <path_to_config_file>
If the setting "tlsCertFile" is not set or contains no value, this is a finding.
M
5376