Merge pull request #1661 from smallstep/herman/acme-challenge-client-proxy

Add support for `HTTP_PROXY` and `HTTPS_PROXY` to ACME solver client
pull/1662/merge
Herman Slatman 4 months ago committed by GitHub
commit 581db00a00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -55,6 +55,7 @@ func NewClient() Client {
http: &http.Client{
Timeout: 30 * time.Second,
Transport: &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{
//nolint:gosec // used on tls-alpn-01 challenge
InsecureSkipVerify: true, // lgtm[go/disabled-certificate-check]

Loading…
Cancel
Save