I'm looking for a way to bypass a target app using a non-system certificate. The HttpCanary app itself does give a 'solution' however it's incredibly unclear:
Goto Settings->HttpCanary root CA settings and export HttpCanary.pem, and then reverse the target app to replace the cacert file.
I feel like I've looked all over, but it seems like no one is talking about it.
I've looked into the AndroidManifest.xml
of the app to find the certificates the app uses, but that just pointed me to the system and user certificates.
Next I looked into /data/data/<app>/files/
of the app which does contain a Certificates.pem
file, which contains a list of different certificates, so maybe if I replace it with HttpCanary's certificate it could work?
Anyway, I'd appreciate any insight on this. If you'd prefer to discuss it in private just let me know.
Thank you for any help.