List
sudo certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
[...]
Certificate Name: ittavern.com
Domains: ittavern.com www.ittavern.com
Expiry Date: 2024-04-10 05:00:55+00:00 (VALID: 31 days)
Certificate Path: /etc/letsencrypt/live/ittavern.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/ittavern.com/privkey.pem
[...]
Renew
Renew one certificate:
sudo certbot renew --cert-name CERTNAME
Renew with different domains:
sudo certbot certonly --nginx --cert-name "examples.com" --renew-with-new-domains -d "example.com,www.example.com"
Side note: Add --dry-run
option at first to see what certbot would do.
Don’t forget to restart the application.
Delete
sudo certbot delete
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Which certificate(s) would you like to delete?
[...]
3: ittavern.com
[...]
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel):
or with the name of the certificate:
sudo certbot delete --cert-name example.com
Most recent Articles: