There are two options, what is the best approach?
I want to either
- Create a squid proxy server that detects MITM attacks
or
- Create a python UI application to detect differences between local certificate store and certificate sent from server. If there is a difference, show error on the client side that a possible MITM attack was prevented and then redirect user to real site. Is this possible? What programming langauge can I use for this?