I am new to mitmproxy and I have a couple of questions regarding client certificates. I made sure to google first/search to forum --> didn’t find the right answers (If I missed them though pls link :)).
a) Is there a function that exports the on-the-fly generated certificates, if I want to use them, for example, in an addon?
b) Are those on-the-fly generated certificates stored somewhere. (To inspect them at a later point)
c) As I should be able to specify a directory for my client certificates, does mitmproxy load that directory once (in the beginning) or does mitmproxy load the directory/certificate when needed --> implying it is possible to save a certificate into that folder while mitmproxy is already running, mitmproxy still will accept that new certificate?
To my problems: I can run ./mitmproxy --mode transparent without a problem, if I want to run ./mitmproxy --mode transparent --client-certs ~/mycertificates though i get the following error:
mitmproxy: error: unrecognized arguments: --client-certs /home/p1uymi/mycertificates
–client-certs is deprecated.
--set client_certs=value instead.
How am I able to fix this? do I use the commands wrong?
- I also had a look at https://docs.mitmproxy.org/stable/concepts-certificates/ --> didn’t solve my problems //// Also had a look at mitmproxy --options --> Couldn’t figure out a solution.
With best regards,