Skip to content

Commit

Permalink
prom: Allow insecure TLS connections if --insecure is provided (#4716)
Browse files Browse the repository at this point in the history
  • Loading branch information
vadmeste authored Oct 14, 2023
1 parent 54d12e9 commit d158b9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,8 @@ func httpClient(reqTimeout time.Duration) *http.Client {
}).DialContext,
Proxy: ieproxy.GetProxyFunc(),
TLSClientConfig: &tls.Config{
RootCAs: globalRootCAs,
RootCAs: globalRootCAs,
InsecureSkipVerify: globalInsecure,
// Can't use SSLv3 because of POODLE and BEAST
// Can't use TLSv1.0 because of POODLE and BEAST using CBC cipher
// Can't use TLSv1.1 because of RC4 cipher usage
Expand Down

0 comments on commit d158b9a

Please sign in to comment.