Hello, I have a strange problem with renewing my certificate. The domain is kupiopravu.ru, certificate is valid till 07 May.
Today (05 May) I run the renewal process with --keep-until-expiring option and see message “Certificate not yet due for renewal”. I run command several times without result.
After that I delete folders with domain name in /etc/letsencrypr/live, /etc/letsencrypr/archive and config files. Run command again, and see message “Too many certificates already issued”.
Now I have expiring certificate on my server and cannot issue new certificate. What can I do?
What I’d guess happened was that you requested and got a renewal which was stored locally in the live folder. The script checked this every time - hence saying that the “Certificate not yet due for renewal” I’d suspect that certificate wasn’t uploaded into your webserver though ( apache / nginx needed to be restarted) so you thought it still deeded renewing. If you have a backup of the files you deleted I’m sure you will find the certificate there. If not, let us know and we’ll provide another way of getting the cert.
which you can then use, along with your private key, on your server. You will need to load it into the correct place on your server, then reload your apache / nginx
P.S. it’s always worth taking a backup before you delete things