diff --git a/lego/client_config.go b/lego/client_config.go index 8679ad505..3fba0a06a 100644 --- a/lego/client_config.go +++ b/lego/client_config.go @@ -12,6 +12,7 @@ import ( "time" "github.com/go-acme/lego/v5/certcrypto" + "github.com/go-acme/lego/v5/certificate" "github.com/go-acme/lego/v5/registration" ) @@ -48,8 +49,9 @@ func NewConfig(user registration.User) *Config { User: user, HTTPClient: createDefaultHTTPClient(), Certificate: CertificateConfig{ - KeyType: certcrypto.RSA2048, - Timeout: 30 * time.Second, + KeyType: certcrypto.RSA2048, + Timeout: 30 * time.Second, + OverallRequestLimit: certificate.DefaultOverallRequestLimit, }, } }