Previously I have been able to bypass SSL Pinning by using the program JustTrustMe with the Xposed framework for nearly every app.


However it has started to fail on more and more apps recently. The more I read it seems like I have to disassemble every app and patch them one by one.

Is there some application that I have missed that can disable SSL Pinning by hooking onto system commands?

Programs that I have tried:




If there is no such program, what is the best way to go?

What I have identified so far:

  1. Try to disassemble the APK and search for keywords such as "X509TrustManager", "cert", "pinning" etc and modify it accordingly. Like this article: http://blog.dewhurstsecurity.com/2015/11/10/mobile-security-certificate-pining.html

  2. However it seems that at least one of the apps that I have trouble proxying (Facebook Messenger) is using SSL Pinning in the native layer as well as the Java layer. This is probably the case in many other applications as well since they have worked before with JustTrustMe but has now stopped working. https://serializethoughts.com/2016/08/18/bypassing-ssl-pinning-in-android-applications/

  • 2
    You'll also notice that the author of SSLUnpinning_Xposed is moving his project pieces to -- github.com/ac-pm/Inspeckage
    – atdre
    Feb 11, 2017 at 22:50
  • facebook messenger app uses sslpinning AND reverse proxy , it starts a local proxy and make all request and response trought it
    – Hichem
    Apr 1, 2020 at 20:32

1 Answer 1


Did you go through these procedures to get JustTrustMe to bypass the cert pinning -- http://www.welivesecurity.com/2016/09/08/avoid-certificate-pinning-latest-versions-android/ -- ?

If you are just looking to intercept WebViews, then the Frida extension, appmon (which allows for API interception), using these techniques will work well -- https://youtu.be/QjLRaIB-97E

If you do end up having to rewrite some code, try to keep it really simple. I found this technique which doesn't mess with the existing cert-pinning code and instead just adds the HTTP traffic to the logging system -- https://blog.securityevaluators.com/how-to-view-tls-traffic-in-androids-logs-6a42ca7a6e55

For a series on repackaging Android apps, be sure to check out:


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .