Help ERROR : Cannot RENEW SSL cert!

untubu 14.4

My domain is: mydinh-plaza2.com

I ran this command: ee site update mydinh-plaza2.com --le=renew

It produced this output: Renewing SSl cert for https://mydinh-plaza2.com
ERROR : Cannot RENEW SSL cert !
Your current cert already EXPIRED !
Check logs for reason tail /var/log/ee/ee.log & Try Again!!!

When running ee site update mydinh-plaza2.com --le = renew

In the log file:

thanks

There are several threads regarding this issue (usually related to DNS); did you take a look at forum history? If yes, no previous suggestions were valid for you?

I watch but it did not help me.

When I try to access to your website address, I’m redirected to another website. If you use this domain as a 301 redirection, letsencrypt will fail because it will not be able to verify the folder .well-known.

In this case you have to add the following line in your nginx configuration :

location /.well-known {
            alias /var/www/yourwebsite.ltd/htdocs/.well-known;
    }

And then to try again.

Otherway you can generate a SSL certificate manually by following my article : https://kb.virtubox.net/knowledgebase/install-ssl-certificate-lets-encrypt-manually/

1 Like

What did you find in /var/log/letsencrypt/letsencrypt.log?