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?
Great! My problem was solved with this code:
openssl pkcs12 -export -in test.crt -inkey test.key -out test-combined.p12
After this, I managed to import the test-combined.p12 certificate normally to my Android 10.
Thank you!