-
-
Save dmke/f2d31407cc17d7801a0f32ebbe6cd283 to your computer and use it in GitHub Desktop.
lego/1777
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
diff --git a/challenge/dns01/dns_challenge.go b/challenge/dns01/dns_challenge.go | |
index 354eb4e3..bbccf431 100644 | |
--- a/challenge/dns01/dns_challenge.go | |
+++ b/challenge/dns01/dns_challenge.go | |
@@ -91,6 +91,7 @@ func (c *Challenge) PreSolve(authz acme.Authorization) error { | |
return err | |
} | |
+ log.Infof("DEBUG [%s] acme: Present(%s, %s, %s)", authz.Identifier.Value, chlng.Token, keyAuth) | |
err = c.provider.Present(authz.Identifier.Value, chlng.Token, keyAuth) | |
if err != nil { | |
return fmt.Errorf("[%s] acme: error presenting token: %w", domain, err) | |
@@ -157,7 +158,8 @@ func (c *Challenge) CleanUp(authz acme.Authorization) error { | |
return err | |
} | |
- return c.provider.CleanUp(authz.Identifier.Value, chlng.Token, keyAuth) | |
+ log.Infof("DEBUG [%s] acme: CleanUp(%s, %s, %s) (skip)", authz.Identifier.Value, chlng.Token, keyAuth) | |
+ return nil // c.provider.CleanUp(authz.Identifier.Value, chlng.Token, keyAuth) | |
} | |
func (c *Challenge) Sequential() (bool, time.Duration) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment