I have been able to use fiddlercore to very easily construct an http proxy. It works great for both http and https traffic. I even have MITM decryption working and can see the actual https traffic decoded. I'd now like to force all the https traffic to use http to the server. I've tried to rewrite the connect port and/or URL in the BeforeRequest handler and it then connected to port 80 on the server, but is still trying to speak SSL. How can I get it to not try and SSL handshake with the server?
Both these work:
client -> http -> fiddler -> http -> server
client -> https -> fiddler (mitm) -> https -> server
I want to do this:
client -> https -> fiddler (mitm) -> http -> server
I feel I'm missing something obvious, so any pointers would be appreciated.
Thanks!
Kevin R.