Problem: Unified SSL certificate error – SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line


The server had a unified file to hold the SSL certificate and intermediate certificate. But, on restarting the webserver, the above error showed up.
The ‘end of the line’ was indeed good. The problem was due to a missing line break between the certificates.




Note that there should be 5 hyphens at the beginning and end, of the BEGIN/END tags!

Get new insights right to your inbox

How can our experts help you?

Schedule your consultation

You may also like

  • By admin
  • in DevOps

Agile vs DevOps: What’s the difference

  • Nov 18, 2022 .
  • 9 min min
Read More
  • By admin
  • in DevOps

DevOps as a Service: All You Should Know

  • Aug 9, 2022 .
  • 9 min min
Read More
  • By admin
  • in Containerization

Containerization VS Virtualization: Understanding the Differences

  • Aug 4, 2022 .
  • 8 min min
Read More

Be in the know

Techno tips served hot! Subscribe now and stay atop.