2025-01-09

on your webserver. if u have say, like 5 domains running on it. on a single server.

which u use certbot set on a cronjob to auto-renew your ssl certificates. (which u need—ssl certificates—in order to run a payment-processor on your websites.)

but u let a domain expire. one of the 5, say.

just weren't using it enough or something (or at-all) to warrant paying from-where-u-buy-your-domain-names for another year.

so your certbot renew set on a cronjob will be trying to renew certificates for a domain u no longer own then.

is just a waste of cpu. (which may even throw an error & prevent your other domains—which u still own & need certificates for—from renewing.)

so u need to update your certbot renew rule.

which is easy.

certbot -h

for clues. (which helped more than trying to google or ask the chatbots—a terminology-issue probably, not even knowing how to correctly describe what it is you're looking for.)

certbot delete

which brings-up a little menu on the terminal. all the domains u have tied to your certbot renew rule in a numbered list. which one u want to delete?

as easy as.

so that now when your certbot renew command runs, it won't try renewing the domain u no longer have.

but then also if say u bought a new domain. which u added to the server. which u need to add to your certbot renew rule.

that all u have to do is certbot a certificate for that new domain only. which will then automatically add it to your certbot renew list of domains.

which u can then test.

certbot renew --dry-run



comment

your name?

comment: