
Multiple people within my work organisation were caught out by the fact that the trusted client cert issuers must be given in a file named `ca.crt` and that other filenames will fail to work. This change makes it more clear to those who stumble across the documentation that this is a potential gotcha.
726 B
726 B
Client Certificate Authentication
It is possible to enable Client Certificate Authentication using additional annotations in Ingress resources, created by you.
Setup Instructions
-
Create a file named
ca.crt
containing the trusted certificate authority chain to verify client certificates. All of the certificates must be in PEM format.
NB: The file containing the trusted certificates must be namedca.crt
exactly - this is expected to be found in the secret. -
Create a secret from this file:
kubectl create secret generic auth-tls-chain --from-file=ca.crt --namespace=default
-
Add the annotations as provided in the ingress.yaml example to your own ingress resources as required.