summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acmens.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/acmens.py b/acmens.py
index 12743e5..05fa749 100644
--- a/acmens.py
+++ b/acmens.py
@@ -225,7 +225,7 @@ DNS TXT record contents: \"{token}\"
Notes:
- Do not include the quotes in the TXT record.
-""".format(domain=domain, token=challenge["token"]))
+""".format(domain=domain.replace('*.', ''), token=challenge["token"]))
else:
# Challenge response for http server.
response_uri = ".well-known/acme-challenge/{0}".format(