This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:ubuntu:certbot [2018/01/05 17:51] – lunetikk | linux:ubuntu:certbot [2018/06/03 04:41] – lunetikk | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Installation ===== | ===== Installation ===== | ||
- | |||
- | [[https:// | ||
< | < | ||
Line 16: | Line 14: | ||
==== nginx ==== | ==== nginx ==== | ||
+ | |||
+ | Good guide for nginx config and cronjob for auto renew\\ | ||
+ | [[https:// | ||
+ | |||
Create "/ | Create "/ | ||
Line 30: | Line 32: | ||
Create a folder for challanges | Create a folder for challanges | ||
- | < | + | < |
==== apache2 ==== | ==== apache2 ==== | ||
+ | Just try it. | ||
===== Get certs ===== | ===== Get certs ===== | ||
Line 41: | Line 44: | ||
</ | </ | ||
+ | ==== nginx ==== | ||
+ | Add to your vhost config | ||
+ | < | ||
+ | ssl_certificate / | ||
+ | ssl_certificate_key / | ||
+ | ssl_trusted_certificate / | ||
+ | </ | ||
+ | |||
+ | ==== apache2 ==== | ||
Add to your vhost config | Add to your vhost config | ||
< | < | ||
Line 50: | Line 62: | ||
===== Commands ===== | ===== Commands ===== | ||
- | + | ^ Command | |
- | certbot certonly --webroot --agree-tos --no-eff-email --email < | + | | %%certbot certonly --webroot --agree-tos --no-eff-email --email < |
- | Obtain or renew a certificate | + | | |
- | certbot | + | | %%certbot certonly --dry-run%% | |
- | certbot certonly --dry-run Test " | + | | |
- | certbot certificates Display information about certificates you have from Certbot | + | | |
- | certbot revoke Revoke a certificate (supply --cert-path) | + | | |
- | certbot delete Delete a certificate | + | |