Package Exports
- node-mitmproxy
- node-mitmproxy/lib/common/config
- node-mitmproxy/lib/tls/tlsUtils
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-mitmproxy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
node-mitmproxy
Node.js MITM proxy
关于伪造https证书的逻辑图

安装CA Root证书
Mac
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/node-mitmproxy/node-mitmproxy.ca.crt