I have an issue, I want to use an API Gateway client certificate with my ingress config.
- I've generated the certificate on AWS.
I've created the secret of thi certificate:
kubectl create secret generic api --from-file=api-gateway-client-certificate.crt --namespace developI've added the configuration on my ingress file:
annotations: nginx.ingress.kubernetes.io/auth-tls-verify-client: "on" nginx.ingress.kubernetes.io/auth-tls-secret: "default/api" nginx.ingress.kubernetes.io/auth-tls-verify-depth: "1"`
Finally I don't know why I get this error on the ingress-controller:
Error obtaining X.509 certificate: Secret "develop/api" contains no keypair or CA certificate
I use Kubernetes v1.11.1 and nginx-ingress-controller v0.17.1