Difference between revisions of "Certbot"
(7 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
Creating Certs: | Creating Certs: | ||
− | certbot certonly --authenticator standalone --pre-hook "apachectl -k stop" --post-hook " | + | certbot certonly --authenticator standalone --pre-hook "apachectl -k stop" --post-hook "apachectl -k start" |
Modifying Cert: | Modifying Cert: | ||
− | certbot certonly --cert-name example.com -d mail.example.org,www.example.org,ns1.example.org | + | certbot certonly --cert-name example.com -d example.com,mail.example.org,www.example.org,ns1.example.org |
+ | |||
+ | List Certs: | ||
+ | certbot certificates | ||
+ | |||
+ | Force Renewal: | ||
+ | certbot renew --force-renewal | ||
+ | |||
+ | Delete or Remove Cert | ||
+ | certbot delete | ||
'''Links:''' | '''Links:''' | ||
− | *[https://certbot.eff.org/lets-encrypt/ | + | *[https://certbot.eff.org/lets-encrypt/debianjessie-apache How to install certbot] |
*[https://certbot.eff.org/docs/using.html#changing-a-certificate-s-domains How to modify domains] | *[https://certbot.eff.org/docs/using.html#changing-a-certificate-s-domains How to modify domains] |
Latest revision as of 00:51, 11 January 2025
Commands:
Creating Certs:
certbot certonly --authenticator standalone --pre-hook "apachectl -k stop" --post-hook "apachectl -k start"
Modifying Cert:
certbot certonly --cert-name example.com -d example.com,mail.example.org,www.example.org,ns1.example.org
List Certs:
certbot certificates
Force Renewal:
certbot renew --force-renewal
Delete or Remove Cert
certbot delete
Links: