3 ms·
Came across this recently as a way to proxy a local HTTP server to HTTPS, which you can do with e.g. mitmproxy --mode reverse:http://localhost:8081/ http://loca
by tomduncalf 6y ago
Came across this recently as a way to proxy a local HTTP server to HTTPS, which you can do with e.g. mitmproxy --mode reverse:http://localhost:8081/ http://localhost:8081/ -p 8082 -q (to make local port 8081 accessible over HTTPS on local port 8082)
Looks like a really powerful tool, must make time to learn more about it!
- orev 6y agoIf you’re doing this for a real service, it would make much more sense to use nginx or Apache httpd. Mitmproxy is very cool, but it’s really meant more to be used for investigation, pen testing, etc.
- tomduncalf 6y agoYeah sorry, should have said this was for testing out something quickly on my local machine!
- LinuxBender 6y agoSquid also works great for this. I am posting this message through a squid ssl-bump proxy.