lqqyt2423 / go-mitmproxy

mitmproxy implemented with golang. 用 Golang 实现的中间人攻击(Man-in-the-middle),解析、监测、篡改 HTTP/HTTPS 流量。
MIT License
1.2k stars 205 forks source link

mac m1信任证书后请求tls错误 #62

Open TangGV opened 11 months ago

TangGV commented 11 months ago

执行了 sudo security add-trusted-cert -d -p ssl -p basic -k /Library/Keychains/System.keychain ~/.mitmproxy/mitmproxy-ca-cert.pem 执行 curl -x 127.0.0.1:9080 https://aigo.lol

tls错误无法解析https内容 2023/10/22 01:36:12 http: TLS handshake error from 127.0.0.1:64806: local error: tls: bad record MAC

image
TangGV commented 11 months ago

go version go1.21.3 darwin/amd64