1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/mitmproxy
2024-04-22 16:14:26 +08:00
..
docker-compose.yml update 2024-04-22 16:14:26 +08:00
README.md update mitmproxy 2024-04-22 15:54:57 +08:00

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.