May i know the issue and how to correct this?

ERROR msg:

nginx: [emerg] cannot load certificate key "/etc/ssl/self/key.pem": PEM_read_bio _PrivateKey() failed (SSL: error:06065064:digital envelope routines:EVP_DecryptF inal_ex:bad decrypt error:23077074:PKCS12 routines:PKCS12_pbe_crypt:pkcs12 ciphe rfinal error error:2306A075:PKCS12 routines:PKCS12_item_decrypt_d2i:pkcs12 pbe c rypt error error:0907B00D:PEM routines:PEM_read_bio_PrivateKey:ASN1 lib)
nginx: configuration file /etc/nginx/nginx.conf test failed

It's hard to say without any context, but it looks like nginx can't read your private key file. Make sure the private key is where nginx expects to be, and that it's readable by whatever user nginx is running as.

3 Likes

Hello @naveenjr, welcome to the Let's Encrypt community. :slightly_smiling_face:

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

Thank you for assisting us in helping YOU!

2 Likes

Please show:
ls -l /etc/ssl/self/key.pem

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.