diff --git a/acme/api/api.go b/acme/api/api.go index e14cd993..14b18f52 100644 --- a/acme/api/api.go +++ b/acme/api/api.go @@ -44,7 +44,7 @@ func New(httpClient *http.Client, userAgent string, caDirURL, kid string, privat jws := secure.NewJWS(privateKey, kid, nonceManager) - c := &Core{doer: doer, nonceManager: nonceManager, jws: jws, directory: dir} + c := &Core{doer: doer, nonceManager: nonceManager, jws: jws, directory: dir, HTTPClient: httpClient} c.common.core = c c.Accounts = (*AccountService)(&c.common)