forked from TrueCloudLab/lego
Fix DNS-01 challenge resource property
This commit is contained in:
parent
08cd016ed3
commit
50031525c9
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ func (s *dnsChallenge) Solve(chlng challenge, domain string) error {
|
||||||
|
|
||||||
preCheckDNS(domain, fqdn)
|
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 {
|
func checkDNS(domain, fqdn string) bool {
|
||||||
|
|
Loading…
Reference in a new issue