Skip to content

Commit

Permalink
Merge pull request smallstep#1661 from smallstep/herman/acme-challeng…
Browse files Browse the repository at this point in the history
…e-client-proxy

Add support for `HTTP_PROXY` and `HTTPS_PROXY` to ACME solver client
  • Loading branch information
hslatman authored Jan 3, 2024
2 parents b75773e + c59d293 commit 581db00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions acme/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 581db00

Please sign in to comment.