Failed to convert certificate chain from PEM to DER error on Kubernetes

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

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.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.