linux:centos:auto-lets-encrypt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:centos:auto-lets-encrypt [2024/05/13 23:19] – odefta | linux:centos:auto-lets-encrypt [2025/01/03 19:11] (current) – odefta | ||
---|---|---|---|
Line 34: | Line 34: | ||
0 0,12 * * * root certbot -q renew --apache | 0 0,12 * * * root certbot -q renew --apache | ||
</ | </ | ||
+ | |||
+ | ===== Renew wildcard certificate ===== | ||
+ | Wildcard certificates renewal require DNS-01 challenge, so we should manually edit the corresponding dns file. | ||
+ | < | ||
+ | sudo certbot certonly --manual --preferred-challenges dns --cert-name code.domain.com-0001 | ||
+ | </ | ||
+ | |||
+ | ===== Delete a certificate ===== | ||
+ | |||
+ | < | ||
+ | sudo certbot delete --cert-name example.com | ||
+ | </ | ||
+ |
linux/centos/auto-lets-encrypt.1715631567.txt.gz · Last modified: 2024/05/13 23:19 by odefta