forked from TrueCloudLab/lego
Log when skipping challenges due to valid authz
This commit is contained in:
parent
b2d7a1821e
commit
6bd7f505e1
1 changed files with 2 additions and 1 deletions
|
@ -510,7 +510,8 @@ func (c *Client) solveChallenges(challenges []authorizationResource) map[string]
|
||||||
failures := make(map[string]error)
|
failures := make(map[string]error)
|
||||||
for _, authz := range challenges {
|
for _, authz := range challenges {
|
||||||
if authz.Body.Status == "valid" {
|
if authz.Body.Status == "valid" {
|
||||||
// Boulder might recycle already-valid authz, see issue #267
|
// Boulder might recycle recent validated authz (see issue #267)
|
||||||
|
logf("[INFO][%s] acme: Authorization already valid; skipping challenge", authz.Domain)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// no solvers - no solving
|
// no solvers - no solving
|
||||||
|
|
Loading…
Reference in a new issue