Issue
- SSL on the Nginx Ingress Controller is not working
- Nginx logs are showing the error:
[error] 40#40: *1406 [lua] certificate.lua:77: call(): failed to convert certificate chain from PEM to DER: PEM_read_bio_X509_AUX() failed
Environment
- CloudBees CI (CloudBees Core)
- CloudBees CI (CloudBees Core) on modern cloud platforms - Managed controller
- CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
- kubernetes/ingress-nginx: NGINX Ingress Controller for Kubernetes v0.24.1/v0.24.0
Resolution
This error is caused by the bug reported here: Sharing TLS config between ingresses · Issue #4106 · kubernetes/ingress-nginx
It can be fixed by upgrading the Nginx Ingress Controller to version 0.25.0
or higher. Alternatively, you can downgrade to version 0.23.0
.
0 Comments