Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: network_security_config.xml setup still CA certificate rejection #572

Open
1 task done
v-shahzadahmad opened this issue Mar 22, 2024 · 1 comment
Open
1 task done
Labels
bug Something isn't working

Comments

@v-shahzadahmad
Copy link

Has this been reported before?

  • I have checked for existing reports of this issue

Repro steps

I have followed the instructions which mentioned on httptoolkit doc e-g setup network_security_config.xml but i am still seeing certificate rejection and I could not debug the app properly even on premium subscription as well.

How often does this bug happen?

Every time

The desktop OS you're using

MacOS Sonama 14.2.1

Details of other apps/devices

Google Pixel 4 (Physical device)

Error screenshot

image

Any other info?

No response

@v-shahzadahmad v-shahzadahmad added the bug Something isn't working label Mar 22, 2024
@pimterry
Copy link
Member

This either means that:

  • You haven't successfully modified the app somehow (you're running the old version, or there's some issue with the config changes, etc). If you could share the full config you're using and the steps you've followed to modify and repack this that would be helpful.
  • You have modified the app, but it's re-defining its default trust configuration in code somewhere and ignoring the config. In this case, you'll need to look through the app's code to find that. If it's your app that shouldn't be a big problem, if it's a 3rd party app then see this guide for more info: https://httptoolkit.com/blog/android-reverse-engineering/
  • You have modified the app, and it's working for normal requests (so some requests do come through OK) but the app is using certificate pinning for some other requests, and so those requests fail. In that case you can usually use Frida or apk-mitm to disable this.

The premium subscription isn't related to or required for this - this is just an issue around how your app & device setup is working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants