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

1 minute readKnowledge baseArticle ID 360030957511

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.

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by Cloudbees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.