Replies: 1 comment
-
|
This works for me: mitmdump --no-server --rfile /dev/null |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I want to create the certificates which mitmproxy places into
~/.mitmproxywithout user-interaction. I do not see an option to mitmproxy to just create the certificates and then exit. I tried running mitmproxy undertimeoutbut mitmproxy does not seem to react to SIGINT or SIGTERM, so mitmproxy will ignore the timeout. I could useopensslto generate the keys but I'd like to create keys in just the way that mitmproxy wants them, so it would be best if mitmproxy would create them. I found useful code in./mitmproxy/certs.pybut again, I'd like to avoid crafting my own solution to avoid bit-rot with future mitmproxy releases.Am I missing an existing method which allows me to run mitmproxy in a way which just generates the certificate store and then exits?
EDIT:
Maybe I need to resort to installing the python module and then do something like this:
Beta Was this translation helpful? Give feedback.
All reactions