mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 09:59:59 +08:00
get-certs: DNS01 challenge skipping preCheckDNS (#591)
This commit is contained in:
parent
28d650207b
commit
262acdd3d8
1 changed files with 1 additions and 3 deletions
|
@ -152,9 +152,7 @@ func (c *certManager) IssueOrRenewCert(cfg *CertConfig, renewUnder int, verbose
|
||||||
}
|
}
|
||||||
client.Challenge.Remove(challenge.HTTP01)
|
client.Challenge.Remove(challenge.HTTP01)
|
||||||
client.Challenge.Remove(challenge.TLSALPN01)
|
client.Challenge.Remove(challenge.TLSALPN01)
|
||||||
client.Challenge.SetDNS01Provider(c)
|
client.Challenge.SetDNS01Provider(c, dns01.WrapPreCheck(c.preCheckDNS))
|
||||||
|
|
||||||
dns01.WrapPreCheck(c.preCheckDNS)
|
|
||||||
|
|
||||||
certResource, err := action()
|
certResource, err := action()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue