meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| sw:certbot [2020/07/02 18:30] – created niziak | sw:certbot [2020/07/10 13:11] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== certbot ====== | + | ====== certbot |
| - | letsencrypt | + | |
| Debian Buster has old '' | Debian Buster has old '' | ||
| Install latest '' | Install latest '' | ||
| * https:// | * https:// | ||
| + | <code bash> | ||
| + | apt install certbot python3-certbot-apache -t bullseye | ||
| + | </ | ||
| + | |||
| + | ===== obtain wildcard cert ===== | ||
| + | |||
| + | <code bash> | ||
| + | # First obtain normal domain certificate | ||
| + | certbot -d ' | ||
| + | |||
| + | # Then obtain again with wildcard. It will ask to Expand existing cert. | ||
| + | certbot -d ' | ||
| + | </ | ||
| + | |||
| + | ==== using manual and DNS ==== | ||
| + | <code bash> | ||
| + | certbot certonly --manual -d ' | ||
| + | </ | ||
| + | |||
| + | TXT entry in following form has to be added: | ||
| + | < | ||
| + | _acme-challenge.example.com. 300 IN TXT " | ||
| + | </ | ||
| + | Ensure record is propagated: | ||
| + | <code bash> | ||
| + | $ host -t TXT _acme-challenge.example.com | ||
| + | _acme-challenge.example.com descriptive text " | ||
| + | </ | ||