From 74ddad69dc51d45621a62ad7c10682de6b65e5d4 Mon Sep 17 00:00:00 2001 From: beltram Date: Fri, 3 Feb 2023 12:58:55 +0100 Subject: [PATCH] fix: challenge is '.token' and not '.id' --- acme/challenge.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/acme/challenge.go b/acme/challenge.go index 21a9e029..29440f65 100644 --- a/acme/challenge.go +++ b/acme/challenge.go @@ -467,7 +467,7 @@ func wireDPOP01Validate(ctx context.Context, ch *Challenge, db DB, jwk *jose.JSO "--client-id", challengeValues.ClientID, "--challenge", - ch.ID, + ch.Token, "--leeway", "360", "--max-expiry", @@ -500,15 +500,14 @@ func wireDPOP01Validate(ctx context.Context, ch *Challenge, db DB, jwk *jose.JSO err = cmd.Wait() if err != nil { - log.Printf("access_token: %s, clientID: %s, cli: %s %s %s %s %s %s %s %s %s %s %s %s %s %s", + log.Printf("access_token: %s, cli: %s %s %s %s %s %s %s %s %s %s %s %s %s %s", wireChallengePayload.AccessToken, - challengeValues.ClientID, provisioner.GetOptions().GetDPOPOptions().GetValidationExecPath(), "verify-access", "--client-id", challengeValues.ClientID, "--challenge", - ch.ID, + ch.Token, "--leeway", "360", "--max-expiry",