linux:centos:auto-lets-encrypt
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:centos:auto-lets-encrypt [2024/02/12 17:34] – created odefta | linux:centos:auto-lets-encrypt [2025/01/03 17:11] (current) – odefta | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| < | < | ||
| certbot certificates | certbot certificates | ||
| + | </ | ||
| + | |||
| + | To manual renew ALL ceritificates: | ||
| + | < | ||
| + | certbot renew | ||
| + | systemctl restart httpd (to apply changes if Apache server is used) | ||
| </ | </ | ||
| Line 28: | 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.1707759281.txt.gz · Last modified: by odefta
