An awesome way to debug HTTP connections in any application, including HTTPS/SSL.

Setup on Fedora with SSL

  1. Install mitmproxy
  2. Run mitmproxy
  3. Copy the source certificate: sudo cp ~/.mitmproxy/mitmproxy-ca-cert.cer /etc/pki/ca-trust/source/anchors/
  4. Regenerate your system certificates: sudo update-ca-trust
  5. export HTTP_PROXY=localhost:8080 && export HTTPS_PROXY=localhost:8080
  6. Start your program and profit.