For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/code_security/iac_security/iac_rules/kubernetes-client-certificate-authentication-not-setup-properly.md.
A documentation index is available at /llms.txt.
Client certificate authentication must be configured using a .pem or .crt file. Containers running kube-apiserver or kubelet must include the --client-ca-file flag that references a .pem or .crt certificate. For KubeletConfiguration, the authentication.x509.clientCAFile field must reference a .pem or .crt file.