￼ 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.