-
Inject profiling code
At the beginning of your .zshrc add following:
zmodload zsh/zprofand at the end add:
zprofThis will load zprof mod and display what your shell was doing durung your initialization.
-
After installing mitmproxy run it (just type
mitmproxy) in a terminal session and quit. This will create the necessaries certificates files at~/.mitmproxy. -
Extract the certificate to
.crtformat:
openssl x509 -in ~/.mitmproxy/mitmproxy-ca.pem -inform PEM -out ca.crt -
Trust the certificate into CA:
sudo trust anchor ca.crt -
Run the
mitmproxyagain
OlderNewer