diff --git a/acme/http_challenge.go b/acme/http_challenge.go index cb22a0f8..e0bdfac6 100644 --- a/acme/http_challenge.go +++ b/acme/http_challenge.go @@ -33,7 +33,8 @@ func (s *httpChallenge) Solve(chlng challenge, domain string) error { return err } - keyAuth := chlng.Token + "." + base64.RawURLEncoding.EncodeToString(thumbBytes) + keyThumb := base64.URLEncoding.WithPadding(base64.NoPadding).EncodeToString(thumbBytes) + keyAuth := chlng.Token + "." + keyThumb go s.startHTTPServer(domain, chlng.Token, keyAuth) var listener net.Listener