data-life icon indicating copy to clipboard operation
data-life copied to clipboard

What about certificate pinning?

Open mosburgerr opened this issue 6 years ago • 2 comments

I've been using mitm type transparent proxying on my home network for some time and it seems that an increasing number of apps use certificate pinning to prevent any decrypting and inspection of SSL/TLS traffic. Particularly any iOS (and probably Android) apps from Google fail to various degrees when using a transparent proxy, but many others like the Facebook app seem to be affected too. In most cases, if the app can see that it is going through a transparent proxy, it either fails silently, or gives an obtuse error message. Will your mitmproxy setup address this? I'd be keen to know if it's avoidable because in my case I've had to disable https decrypt and scan on the proxy for google apps and others just to make them work (which of course means I don't know what data is being sent out).

mosburgerr avatar Oct 26 '18 12:10 mosburgerr

I just used the --allow-hosts option to only capture the hosts I care about. Couldn't find any way to bypass ssl/certificate pinning.

drstuggels avatar Nov 20 '21 20:11 drstuggels

It would be great if there existed a big list of hosts/domains/ips that use certificate pinning so that we could ignore them with the --ignore-hosts option.

drstuggels avatar Nov 21 '21 11:11 drstuggels