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.
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.