My project is to find out how to detect HTTPS interception/mitm and create some sort of application using detection techniques. One of the ways I was thinking of is a active desktop application to listen in on the connections between client and server to check the authenticity of SSL certificates using the certificate fingerprint. Is it possible to create a desktop application in python (or any other language) to detect HTTPS interception using the sites SSL certificate fingerprinting?
Taking a look at this page https://www.grc.com/fingerprints.htm, it seems quite possible to do so.
I understand that browsers are likely to have built-in technologies to do this but this is something that is part of my research and development project.