SV-254553r1188297_rule
V-254553
SRG-APP-000014-CTR-000035
CNTR-R2-000010
CAT I
10
Configure the use of strong TLS settings.
Edit the RKE2 server configuration file on all RKE2 server hosts, located at "/etc/rancher/rke2/config.yaml", to contain the following:
kube-controller-manager-arg:
"tls-min-version=VersionTLS12" [or higher]
"tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" kube-scheduler-arg:
"tls-min-version=VersionTLS12"
"tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" kube-apiserver-arg:
"tls-min-version=VersionTLS12"
"tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
Once the configuration file is updated, restart the RKE2 server using the command:
systemctl restart rke2-server
Use strong TLS settings.
On the RKE2 server, run each command:
/bin/ps -ef | grep kube-apiserver | grep -v grep
/bin/ps -ef | grep kube-controller-manager | grep -v grep
/bin/ps -ef | grep kube-scheduler | grep -v grep
For each, look for the existence of tls-min-version (use this command for an aid "| grep tls-min-version").
If the setting "tls-min-version" is not configured or it is set to "VersionTLS10" or "VersionTLS11", this is a finding.
For each, look for the existence of the tls-cipher-suites.
If "tls-cipher-suites" is not set for all servers, or does not contain the following, this is a finding.
--tls-cipher-suites=suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
V-254553
False
CNTR-R2-000010
Use strong TLS settings.
On the RKE2 server, run each command:
/bin/ps -ef | grep kube-apiserver | grep -v grep
/bin/ps -ef | grep kube-controller-manager | grep -v grep
/bin/ps -ef | grep kube-scheduler | grep -v grep
For each, look for the existence of tls-min-version (use this command for an aid "| grep tls-min-version").
If the setting "tls-min-version" is not configured or it is set to "VersionTLS10" or "VersionTLS11", this is a finding.
For each, look for the existence of the tls-cipher-suites.
If "tls-cipher-suites" is not set for all servers, or does not contain the following, this is a finding.
--tls-cipher-suites=suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
M
5486