No description
Find a file
2020-11-01 13:14:04 +01:00
etc/cron.d Init commit. 2020-10-29 16:38:49 +01:00
arch.txt Build multiarch containers. 2020-11-01 13:04:22 +01:00
build.sh Better build script. 2020-11-01 13:14:04 +01:00
certbot-auth Fixed timout and other stuff. 2020-10-30 11:58:53 +01:00
certbot-cleanup Better waiting for record updating. 2020-10-29 23:30:49 +01:00
certbot-duckdns Fixed timout and other stuff. 2020-10-30 11:58:53 +01:00
Dockerfile Renamed to Dockerfile. 2020-10-29 16:40:55 +01:00
duckdns Fixed timout and other stuff. 2020-10-30 11:58:53 +01:00
readme.md Updated readme.md. 2020-11-01 13:09:42 +01:00
start-certbot-duckdns.sh Fixed timout and other stuff. 2020-10-30 11:58:53 +01:00

Certbot with duckdns wildcard certificate

Just run it with the correct environment variables and enjoy.

Because of a limitation on duckdns it is not possible to request a certificate which works for both the domain and wildcard subdomains. Because of this we request 2 certificates, one for the domain and one wildcard cert.

Example:

DUCKDNS_DOMAIN=redxef

Yields 2 certificates, the first being for redxef.duckdns.org and the second being for *.redxef.duckdns.org. These certificates can be found under the following locations respectively:

  • /etc/letsencrypt/live/redxef.duckdns.org/
  • /etc/letsencrypt/live/redxef.duckdns.org-0001/

ENV Variables

  • DUCKDNS_DOMAIN: The domain to update, ex: DUCKDNS_DOMAIN=redxef for redxef.duckdns.org
  • DUCKDNS_TOKEN: Your duckdns api tokne
  • LE_EMAIL: Your email for certificate related notifications