Skip to content

Instantly share code, notes, and snippets.

@maikell
Created August 19, 2022 15:31
Show Gist options
  • Save maikell/91095b9fdfdc72d40d49dfe40eb8381a to your computer and use it in GitHub Desktop.
Save maikell/91095b9fdfdc72d40d49dfe40eb8381a to your computer and use it in GitHub Desktop.
acme.sh wildcard with duckdns.org
#!/bin/sh
TOKEN=
DOMAIN=
EMAIL=
HOST_CERT_LOCATION=
docker run -v $HOST_CERT_LOCATION:/acme.sh \
-it -e DuckDNS_Token=$TOKEN \
neilpang/acme.sh acme.sh --issue --domain $DOMAIN \
--dns dns_duckdns --accountemail $EMAIL
#!/bin/sh
DOMAIN=
EMAIL=
HOST_CERT_LOCATION=
docker run -v $HOST_CERT_LOCATION:/acme.sh \
-it neilpang/acme.sh acme.sh \
--domain $DOMAIN --renew \
--dns dns_duckdns --accountemail $EMAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment