diff --git a/cmd/go-mitmproxy/main.go b/cmd/go-mitmproxy/main.go index 5b5b127..e92bd62 100644 --- a/cmd/go-mitmproxy/main.go +++ b/cmd/go-mitmproxy/main.go @@ -63,9 +63,10 @@ func main() { Addr: config.addr, StreamLargeBodies: 1024 * 1024 * 5, SslInsecure: config.ssl_insecure, + CaRootPath: config.certPath, } - p, err := proxy.NewProxy(opts,config.certPath) + p, err := proxy.NewProxy(opts) if err != nil { log.Fatal(err) }