Created
August 19, 2022 15:31
-
-
Save maikell/91095b9fdfdc72d40d49dfe40eb8381a to your computer and use it in GitHub Desktop.
acme.sh wildcard with duckdns.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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