Sample Header Ad - 728x90

Issue using own CA cert on Bluestacks emulator

1 vote
0 answers
1817 views
I am trying to set up TLS interception with PolarProxy, using my own CA cert to see the clear-text payload of Android traffic. I am using BlueStacks 10 as an Android emulator. I used the procedure [at this link](https://android.stackexchange.com/questions/237141/how-to-get-android-11-to-trust-a-user-root-ca-without-a-private-key) to generate a CA cert and used the procedure [at this link](https://xdaforums.com/t/tutorial-how-to-install-custom-ssl-certificates-root-etc-on-bluestacks-4-5.4513773/) to place it on the BlueStacks instance. Specifically I mounted the drive for the BlueStacks instance onto a VirtualBox machine to add the cert onto the BlueStacks' drive. I've checked that the cert is being used by PolarProxy since it shows up on the Windows machine I am hosting BlueStacks on. Further, the cert is on the machine since I see it at the /system/etc/security/cacerts folder in BlueStacks with the same permissions as the other certs on the instance. However, when I navigate to a website on BlueStacks using Chrome, Firefox, or Opera, the certificate is not trusted and I get an error. Is there a post-install step I'm missing here or something else that needs to happen for the BlueStacks instance to trust the cert?
Asked by Arnav (11 rep)
Nov 28, 2023, 11:41 PM