dockerfiles/mitmproxy/README.md

504 B

mitmproxy

mitmproxy is a free and open source interactive HTTPS proxy.

$ docker-compose up -d

$ curl --proxy 127.0.0.1:8080 --cacert data/mitmproxy-ca-cert.pem https://www.google.com

$ curl https://localhost:8443/headers
{
  "headers": {
    "Accept": "*/*",
    "Host": "httpbin.org",
    "User-Agent": "curl/8.6.0"
  }
}

To install certificate globally, please read this.