1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 17:56:53 +02: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.