Problem Description
Trying to capture the traffic from an Android device using reverse tethering and then proxying the traffic to mitmproxy, we've installed the MITM certificate in the device. Browser traffic is working fine but application traffic is giving SSL certificate errors. tried to use --ssl-insecure
flag as well but didn't work.
Steps to reproduce the behaviour:
- Run MITM proxy
- Forward the traffic to proxy using reverse tethering and proxychains.
- Installed MITM certificate in the device
- Browser traffic is working fine (both HTTP & HTTPS) but application traffic is not working, giving certificate errors.
- Used a path tls_passthrough as well. Half of the apps traffic works but still apps like amazon doesn't work due to SSL pinning
How to bypass SSL certificate verification?
System Information
Checked with version 6 & 7 both on (Ubuntu & Android).