This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux:ubuntu:certbot [2018/01/08 09:52] – lunetikk | linux:ubuntu:certbot [2018/12/11 11:29] – lunetikk | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Installation ===== | ===== Installation ===== | ||
- | |||
- | Good guide for nginx config and cronjob for auto renew | ||
- | |||
- | [[https:// | ||
< | < | ||
Line 18: | Line 14: | ||
==== nginx ==== | ==== nginx ==== | ||
+ | |||
+ | Good guide for nginx config and cronjob for auto renew\\ | ||
+ | [[https:// | ||
+ | |||
Create "/ | Create "/ | ||
Line 59: | Line 59: | ||
SSLCertificateChainFile / | SSLCertificateChainFile / | ||
</ | </ | ||
+ | |||
+ | ===== Automation ===== | ||
+ | |||
+ | Create a script for automation | ||
+ | |||
+ | < | ||
+ | #!/bin/bash | ||
+ | / | ||
+ | mail -s " | ||
+ | DATE=`date +%Y-%m-%d` | ||
+ | mv / | ||
+ | exit 0 | ||
+ | </ | ||
+ | |||
+ | Add to your crontab | ||
+ | |||
+ | < | ||
===== Commands ===== | ===== Commands ===== | ||
Line 65: | Line 82: | ||
| %%certbot certonly --webroot --agree-tos --no-eff-email --email < | | %%certbot certonly --webroot --agree-tos --no-eff-email --email < | ||
| certbot | | certbot | ||
- | | certbot certonly --dry-run | + | | |
| certbot certificates | | certbot certificates | ||
| certbot revoke | | certbot revoke | ||
| certbot delete | | certbot delete | ||