SSLMate / certspotter

Certificate Transparency Log Monitor
https://sslmate.com/certspotter
Mozilla Public License 2.0
983 stars 84 forks source link

Proxy support - Addition of -proxyurl <proxy> command line argument #31

Closed bsiggers closed 4 years ago

bsiggers commented 6 years ago

At the moment, all the usual proxy enablement options for golang programs (http_proxy environment variable) do not work, as the way the Proxy argument to the net/http client is current passed into the http transport effectively disallows the use of a proxy. This code change adds a command-line argument -proxyurl which allows the specification of a proxy to be used for the certspotter connection, which is relatively common in enterprise environments.