Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to find user installed certificate android 4.0 and up

I've installed my certificate (.crt) as follows: connected the device to my computer --> copied the certificate to internal storage --> on device went to settings->security->install from storage --> and got "installed successfully" or something (it asked me to put a pin code for the device).

Then I've tried looking it up in Settings->security->trusted credentials and couldn't find it in System nor User tabs... (I've understood it should be in User tab, but it's empty).

I think there's no problem in the installation process because it asked me to put pin code (and didn't let me undo it until I've removed all certificates by clicking "clear credentials" from security menu)

Help some1?

Thanks!

like image 909
krushi Avatar asked Sep 09 '25 22:09

krushi


1 Answers

Had this same problem as well. Make sure that the certificate that you are installing is actually a CA certificate and not just a simple x509 certificate. Unfortunately the certificate installer that comes with ICS will gladly install the certificate even if it's not a CA certificate. It will misleadingly say that the certificate was successfully installed. It will even put the file under /data/misc/keystore. However, it provides no feedback to the user that it can't really use that certificate for the intended purpose.

For development/testing, here is a handy guide on how to create this self-signed CA certificate: http://langui.sh/2009/01/18/openssl-self-signed-ca/

like image 102
Carlos N Avatar answered Sep 12 '25 10:09

Carlos N