Certbot Expiry (VPS 3)
Table of Contents
Hello,
Your certificate (or certificates) for the names listed below will expire in 19 days (on 2024-09-17). Please make sure to renew your certificate before then, or visitors to your web site will encounter errors.
We recommend renewing certificates automatically when they have a third of their total lifetime left. For Let's Encrypt's current 90-day certificates, that means renewing 30 days before expiration. See https://letsencrypt.org/docs/integration-guide/ for details.
uploads.thebigocommunity.org
For details about when we send these emails, please visit: https://letsencrypt.org/docs/expiration-emails/ In particular, note that this reminder email is still sent if you've obtained a slightly different certificate by adding or removing names. If you've replaced this certificate with a newer one that covers more or fewer names than the list above, you may be able to ignore this message.
For any questions or support, please visit: https://community.letsencrypt.org/ Unfortunately, we can't provide support by email.
To learn more about the latest technical and organizational updates from Let's Encrypt, sign up for our newsletter: https://letsencrypt.org/opt-in/
Regards,
The Let's Encrypt Team
So this mail I got for one of my domain now I’ll have to figure out how to update the certificate before it’s expiry.
Actually I don’t have uploads.thebigocommunity.org LOL!
When I was creating sub-domains for Prosody, I created share.thebigocommunity.org instead of uploads.thebigocommunity.org
I wonder why this email I got. But anyways.
To manually renew the certs
sudo certbot renew --dry-run
This will start renewing all the certs.
To add cron job
If the dry run is successful, set up a cron job to renew automatically:
sudo crontab -e
no crontab for root - using an empty one
Select an editor. To change later, run ‘select-editor’.
- /bin/nano <—- easiest
- /usr/bin/vim.basic
- /usr/bin/vim.tiny
Choose 1-3 [1]: 1
Add this line:
0 12 1 * * /usr/bin/certbot renew –quiet
crontab: installing new crontab