From 281d1addf6618e8f611ecbe4cfb0343d7a707171 Mon Sep 17 00:00:00 2001 From: ZhouYixun <291028775@qq.com> Date: Tue, 8 Mar 2022 23:39:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E5=AE=8C=E6=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/go-mitmproxy/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) }