error with nginx when changing ssl cert #7793
Replies: 4 comments 2 replies
-
Any ideas on this one? |
Beta Was this translation helpful? Give feedback.
-
I would suggest asking the search engine of your choice about the error message |
Beta Was this translation helpful? Give feedback.
-
Are you sure it's the correct private key file? The error looks like the public cert and private key don't match. I'd double check the content of those files. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have the same problem on a server, did you find a solution? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
soversion: 2.3.100
Deployed: On-Prem
OS: CentOS 7
I followed the directions in: #5117
I am not using Let's Encrypt, but certs are from a commercial CA.
The issue I'm having is nginx does not seem to start. If I do an so-status it says "MISSING" next to nginx.
The /opt/so/log/nginx/error.log shows:
"2022/04/14 17:50:08 [emerg] 1#1: SSL_CTX_use_PrivateKey("/etc/pki/nginx/server.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)"
My managerssl.crt file has 4 certs listed, the root, intermediate 1, intermediate 2, and the cert for the box. In that order. The managerssl.key file is vaild for the cert for the box in the managerssl.crt. I have also tried flipping the certs in managerssl.crt the other direction to see if I had that backwards.
Do you know what I need to do to?
Thanks,
Byron
Beta Was this translation helpful? Give feedback.
All reactions