Bryan Huang
Bryan Huang

Reputation: 5342

Android Emulator apps not connected to network after importing SSL cert

My emulator runs behind company's VPN so I needed to install the corporate root CA for SSL to work. After doing so I can access https on Chrome but **none of the apps works - network calls are falling with all apps (Android built-in and third party) ** ...

I am using:

Can verify the certificate has been install properly and https is working with chrome:

img

Any ideas? Let me know if more info is required. Thanks!

Upvotes: 1

Views: 1497

Answers (1)

Bryan Huang
Bryan Huang

Reputation: 5342

Simply add the root certificate for the network to system trust store - modify the simulator image to install the certificates.

Follow instructions here - will need to fall back to API level <=25 or so to support this modification though ...

Upvotes: 1

Related Questions