Sign inSign up

redxef/certbot-duckdns

By redxef

•Updated 16 days ago

Image
0

3.7K

redxef/certbot-duckdns repository overview

⁠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:

docker run --rm \
    -e DUCKDNS_DOMAIN=redxef \
    -e DUCKDNS_TOKEN=<your ddns token> \
    -e [email protected] \
    redxef/certbot-duckdns

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 token
  • LE_EMAIL: Your email for certificate related notifications

⁠SOURCE

gitea.redxef.at/redxef/certbot-duckdns⁠

Tag summary

Content type

Image

Digest

sha256:6f51cfec7…

Size

29.9 MB

Last updated

16 days ago

docker pull redxef/certbot-duckdns