Install self-signed certificates no longer working in Android Q
问题 I have generated a self-signed certificate which I tried to install on my phone running Android 10, but a snack appears telling me that Private key required to install certificate . I have tried on a phone running Android 9 with the same certificate and it works as expected. Any idea if there is any workaround to get the CA installed? 回答1: Here's how I created a self-signed cert that will work with Android, iOS, and Chrome, from this answer: openssl commands: openssl req -new -newkey rsa:2048