-
Hi, Great tool. I'm trying to use this tool to mirror a website using my own domain name. As such, I already have valid lets encrypt certificates and don't want mitmproxy to modify them, I just want to pass my certificates as-is. How do I do that? I tried the following configurations: config.yaml and However, when I point a webbrowser to mydomain.com, I get invalid certificate warning from the webbrowser. The warning says that the certificate was issued by mitmproxy and not lets encrypt, even though SNI is mydomain.com and not example.com. I scowered all configs . Please help : ) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I think you want a custom server certificate, not a custom client certificate (which mitmproxy would present to the upstream server). https://docs.mitmproxy.org/dev/concepts-certificates/#using-a-custom-server-certificate |
Beta Was this translation helpful? Give feedback.
-
@mhils Just want to say that this tool is very cool. Thank you |
Beta Was this translation helpful? Give feedback.
I think you want a custom server certificate, not a custom client certificate (which mitmproxy would present to the upstream server).
https://docs.mitmproxy.org/dev/concepts-certificates/#using-a-custom-server-certificate