I had to restore my AWS Lightsail Wordpress site back to March so the cert is now expired, but when I try to renew the cert I get an error that I've tried to renew too many times.
You should be able to use any of the issued certificates, assuming the associated private key is still available.
You can retry at the time highlighted above (at most in a week) in the meantime use the staging environment for testing so as to not run into this limit.
Not just "tried to renew". You actually got 4 certs yesterday.
You will be able to get one more cert after that date / time (about 10 hours from now). But, please be careful with it. You only get 5 per week with the same domain names (per account).
But, as Bruce pointed out why can't you just use the ones you got yesterday?
Thanks Bruce and Mike for responding. When I restored my site yesterday it didn't work so I tried to renew the cert. How can I use one of the other certs?
Just looking at the docs for bitnami / lego says below. Do you still have those files?
A set of certificates will now be generated in the /opt/bitnami/letsencrypt/certificates directory. This set includes the server certificate file DOMAIN.crt and the server certificate key file DOMAIN.key.
After spending 15 minutes locating the .key certificate I tried accessing the website and now it works. Crazy!
Thanks for all your help @MikeMcQ and @Bruce5051