Reputation: 131
Trying to sniff traffic between from my Android Emulator and my website via Chrome on Android Pie (9.0). Host is running macOS High Sierra with Android Studio 3.3.1 and Charles 4.2.7.
Installed both the Charles Root SSL cert and User SSL cert on the device; set up Chrome to proxy traffic to my host machine.
Requests to my site do appear in Charles, but I get the error Client SSL handshake failed: An unknown issue occurred processing the certificate (certificate_unknown)
Since I don't own Chrome, I can't edit its app manifest to add a network security exception.
Please help!
Upvotes: 3
Views: 6099
Reputation: 440
You can't do it, as of Android 11, according to Charles Proxy official doc.
As of Android N, you need to add configuration to your app in order to have it trust the SSL certificates generated by Charles SSL Proxying. This means that you can only use SSL Proxying with apps that you control.
If you must use an Android Device/Emulator to sniff traffic, you can try with an older Android version.
Upvotes: 1