SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

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.

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Reply

Scroll to Top