mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
Merge pull request #190 from BillinghamJ/patch-1
Added small note of file format
This commit is contained in:
commit
5f6eca8856
@ -39,6 +39,9 @@ Using a custom certificate
|
|||||||
|
|
||||||
You can use your own certificate by passing the __--cert__ option to mitmproxy.
|
You can use your own certificate by passing the __--cert__ option to mitmproxy.
|
||||||
|
|
||||||
|
The certificate file is expected to be in the PEM format. You can generate
|
||||||
|
a certificate in this format using these instructions:
|
||||||
|
|
||||||
<pre class="terminal">
|
<pre class="terminal">
|
||||||
> openssl genrsa -out cert.key 8192
|
> openssl genrsa -out cert.key 8192
|
||||||
> openssl req -new -x509 -key cert.key -out cert.crt
|
> openssl req -new -x509 -key cert.key -out cert.crt
|
||||||
|
Loading…
Reference in New Issue
Block a user