Help me fix nginx ssl error in docker

Job ID: 34234502

Budget: €8 – €30 EUR

Hi,

When I build up a docker container, I'm facing this error

nginx: [emerg] SSL_CTX_use_PrivateKey("/etc/ssl/privkey.pem") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_k:ey:key values mismatch)

Before you ask - the key, ssl, intermediate certs are all correct, I have verified them with openssl commands, I have tried commercial crt, let's encrypt crt which I generated and a previous ssl used there, previous works, no new ssl's will work.

Need fast and efficient help to make this work.

I expect this to take an experienced person minutes, not hours, so bid accordingly, this is a micro project which should take a little time if you know what to do.
Related categories: System Admin Linux Nginx Ubuntu SSL