fix --certs argument (#4412)
the help output claims that --certs is correct
This commit is contained in:
parent
2694b05fe9
commit
a793a6256a
|
@ -93,7 +93,7 @@ The files created by mitmproxy in the .mitmproxy directory are as follows:
|
||||||
|
|
||||||
## Using a custom server certificate
|
## Using a custom server certificate
|
||||||
|
|
||||||
You can use your own (leaf) certificate by passing the `--cert
|
You can use your own (leaf) certificate by passing the `--certs
|
||||||
[domain=]path_to_certificate` option to mitmproxy. Mitmproxy then uses the
|
[domain=]path_to_certificate` option to mitmproxy. Mitmproxy then uses the
|
||||||
provided certificate for interception of the specified domain instead of
|
provided certificate for interception of the specified domain instead of
|
||||||
generating a certificate signed by its own CA.
|
generating a certificate signed by its own CA.
|
||||||
|
@ -127,13 +127,13 @@ Now, you can run mitmproxy with the generated certificate:
|
||||||
**For all domain names**
|
**For all domain names**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mitmproxy --cert *=cert.pem
|
mitmproxy --certs *=cert.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
**For specific domain names**
|
**For specific domain names**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mitmproxy --cert *.example.com=cert.pem
|
mitmproxy --certs *.example.com=cert.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:** `*.example.com` is for all the subdomains. You can also use
|
**Note:** `*.example.com` is for all the subdomains. You can also use
|
||||||
|
|
Loading…
Reference in New Issue