Editing Certbot renew
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
* <code>[[certbot]] renew</code> | * <code>[[certbot]] renew</code> | ||
− | Let’s Encrypt CA issues short-lived certificates (90 days). Make sure you renew the certificates at least once in 3 months. | + | Let’s Encrypt CA issues short-lived certificates (90 days). Make sure you renew the certificates at least once in 3 months. |
* Configuration directory: <code>[[/etc/letsencrypt/renewal/]]</code> | * Configuration directory: <code>[[/etc/letsencrypt/renewal/]]</code> | ||
Line 15: | Line 15: | ||
− | [[certbot renew | + | [[Crontab]] entry to renew every 13th every month: |
+ | <code>0 0 13 * * [[systemctl stop nginx]] [[&&]] [[certbot renew]] [[&&]] [[systemctl start nginx]]</code> | ||
== [[Certbot renew configuration examples]] == | == [[Certbot renew configuration examples]] == | ||
Line 99: | Line 100: | ||
* <code>[[certbot certonly]] -n -d example.com -d www.example.com</code> | * <code>[[certbot certonly]] -n -d example.com -d www.example.com</code> | ||
:<code>-d flag</code> | :<code>-d flag</code> | ||
− | |||
* <code>[[/etc/cron.d/certbot]]</code> | * <code>[[/etc/cron.d/certbot]]</code> | ||
* <code>[[/var/log/letsencrypt/letsencrypt.log]]</code> | * <code>[[/var/log/letsencrypt/letsencrypt.log]]</code> | ||
− | * <code>[[/lib/systemd/system/certbot.service | + | * <code>[[/lib/systemd/system/certbot.service]]</code> |
== See also == | == See also == |
Advertising: