Learn different ways to decrypt SSL / TLS and read cleartext HTTP.
For educational purposes only.
For development and localhost, it’s easy to log SSL / TLS keys and decrypt traffic through wireshark.
Set an environment variable called
SSLKEYLOGFILE and your browser will automatically log keys to this file. You can import this log file into Wireshark and view decrypted HTTP traffic.
Mitmproxy is an open source HTTPS proxy that comes with a web interface to easily view decrypted HTTP traffic. It will require you to add the mitmproxy CA certificate to your trusted cert store, and set your system’s proxy to the mitmproxy server address.