From 50031525c928047be91a62a2daaf4bd5426cc9a6 Mon Sep 17 00:00:00 2001 From: xenolf Date: Mon, 25 Jan 2016 00:32:47 +0100 Subject: [PATCH] Fix DNS-01 challenge resource property --- acme/dns_challenge.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme/dns_challenge.go b/acme/dns_challenge.go index 8a11cf4f..906a219e 100644 --- a/acme/dns_challenge.go +++ b/acme/dns_challenge.go @@ -65,7 +65,7 @@ func (s *dnsChallenge) Solve(chlng challenge, domain string) error { preCheckDNS(domain, fqdn) - return s.validate(s.jws, domain, chlng.URI, chlng) + return s.validate(s.jws, domain, chlng.URI, challenge{Resource: "challenge", Type: chlng.Type, Token: chlng.Token, KeyAuthorization: keyAuth}) } func checkDNS(domain, fqdn string) bool {