mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-01-27 18:18:30 +00:00
Merge pull request #1661 from smallstep/herman/acme-challenge-client-proxy
Add support for `HTTP_PROXY` and `HTTPS_PROXY` to ACME solver client
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user