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

Article ID:360030957511
1 minute readKnowledge base

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

Resolution

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.