levyitay / AddSecurityExceptionAndroid

Apache License 2.0
686 stars 121 forks source link

Still not working even with AddSecurityException #18

Closed programmin1 closed 5 years ago

programmin1 commented 5 years ago

I am on Ubuntu 16.04.6 LTS and I can create a exception version of an app, I am still getting an error with mitmproxy. adb logcat shows:

06-02 00:01:48.191 24113 25761 E AndroidCll-EventQueueWriter: Cannot send event: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

I am however getting https from others. Can I detect if this is cert pinning?

levyitay commented 5 years ago

Looks like the server is validating the SSL certificate and denies it. So basically some servers are validating the ssl certificate (Google and FB are doing it for some of their services) and using man in the middle certificate won't work. Has nothing todo with the script.