Hi i which to generate a root certificate for MitmProxy app it exists 4 cer's in home location
mitmproxy-ca.pem The private key and certificate in PEM format. mitmproxy-ca-cert.pem The certificate in PEM format. Use this to distribute to most non-Windows platforms. mitmproxy-ca-cert.p12 The certificate in PKCS12 format. For use on Windows. mitmproxy-ca-cert.cer Same file as .pem, but with an extension expected by some Android devices.
At the moment it generates the certificate issuer as MitmProxy i've search'd the source code that is built on python Please help i wish to generate my own cert's or change the source code so it generates an other issuer
Sorry for the bad english //Sm(9)
You can use your own certificate with the mitmproxy's --cert option.
> openssl genrsa -out ca.key 2048
> openssl req -new -x509 -key ca.key -out ca.crt
... No need to fill out optional fields ...
Common Name (eg, YOUR name) []:*.google.com (domain you want to MITM here)
...
> cat ca.key ca.crt > ca.pem
> mitmproxy --cert=ca.pem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With