1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/mitmproxy/README.md

25 lines
504 B
Markdown
Raw Normal View History

2021-09-07 10:48:28 +00:00
mitmproxy
=========
[mitmproxy][1] is a free and open source interactive HTTPS proxy.
```bash
$ docker-compose up -d
2024-04-22 07:54:57 +00:00
2021-09-07 10:48:28 +00:00
$ curl --proxy 127.0.0.1:8080 --cacert data/mitmproxy-ca-cert.pem https://www.google.com
2024-04-22 07:54:57 +00:00
$ curl https://localhost:8443/headers
{
"headers": {
"Accept": "*/*",
"Host": "httpbin.org",
"User-Agent": "curl/8.6.0"
}
}
2021-09-07 10:48:28 +00:00
```
2024-04-22 07:54:57 +00:00
> To install certificate globally, please read [this][2].
2021-09-07 10:48:28 +00:00
[1]: https://mitmproxy.org/
2024-04-22 07:54:57 +00:00
[2]: https://docs.mitmproxy.org/stable/concepts-certificates/