When I tried to setup SSL, I got the above error. Please find the below screenshot.

I have not added the chained.crt in proper order. That is the reason I got the above error. If the server certificate and the bundle have been concatenated in the wrong order, nginx will fail to start and will display the error message. It should be in a proper order like below.

cat certificate.crt ca_bundle.crt > bundle_chained.crt

And Please don’t forget to update the appropriate conf (ssl_certificate must now point to the chained crt) as


After adding the chained.crt in proper order issue was solved for me.

I hope this helps someone.

Leave a Reply

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny