-
-
Save grittyninja/46bfe213821a082467bf14f4bd57208e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ mitmdump -w capture.mitm --set ssl_insecure=true --listen-port 8888 | |
| ---- | |
| export HTTP_PROXY=http://127.0.0.1:8888 | |
| export HTTPS_PROXY=http://127.0.0.1:8888 | |
| export NODE_TLS_REJECT_UNAUTHORIZED=0 | |
| export REQUESTS_CA_BUNDLE=~/.mitmproxy/mitmproxy-ca-cert.pem | |
| export SSL_CERT_FILE=~/.mitmproxy/mitmproxy-ca-cert.pem | |
| export PYTHONHTTPSVERIFY=0 | |
| sudo security add-trusted-cert -d -p ssl -p basic -k /Library/Keychains/System.keychain ~/.mitmproxy/mitmproxy-ca-cert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment