1.2.26 Ensure that the --tls-cert-file and --tls-private-key-file arguments are set as appropriate - cert

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version


Setup TLS connection on the API server.


API server communication contains sensitive parameters that should remain encrypted in transit. Configure the API server to serve only HTTPS traffic.


TLS and client certificate authentication must be configured for your Kubernetes cluster deployment.


Follow the Kubernetes documentation and set up the TLS connection on the apiserver. Then, edit the API server pod specification file /etc/kubernetes/manifests/kube-apiserver.yaml on the master node and set the TLS certificate and private key file parameters.


Default Value:

By default, --tls-cert-file and --tls-private-key-file are presented and created for use.

See Also