PDA

View Full Version : Install a web certificate (*.cer) on an Android device


martani
3rd November 2009, 04:32 PM
Hi,
To gain access to WIFI at university I have to login with my user/pass credentials.

The certificate of their website (the local home page that asks for the credentials) is not recognized as a trusted certificate, so we install it separately on our computers.

I want to know how to install such certificates on Android, I have HTC magic and I came through this question which seems the same problem but the solution is specific to exchange server and not the browser http://forum.xda-developers.com/showthread.php?t=551512

This is the details of installing the certificate from the university's page [LINK] (http://translate.google.com/translate?js=y&prev=_t&hl=en&ie=UTF-8&u=http://www.canalip.upmc.fr/doc/Default.htm&sl=fr&tl=en&history_state0=)

my_space
9th November 2009, 08:11 PM
if you are rooted, download wifi helper (its free) from market and it should help you configure your wifi with custom cert files.

HalfBrian
31st January 2010, 06:41 PM
Hey,

I stumbled onto this topic as I had the problem (but on the Droid, Android v2.0). I then figured out how to do it and made a tool to make it easier. I call it RealmB's Android Certificate Installer (http://www.realmb.com/2010/01/android-certificate-installer/). It basically gives your Android's web browser the correct HTTP headers to make it launch the CA certificate installation wizard.

Hope this helps,
Brian

MrNago
18th August 2011, 11:50 PM
I used Android's built-in certificate manager.

1. Just drop your certificate file onto the sdcard/download folder.
Note: Keep in mind the manager looks for .p12 and/or .crt files. I had a .cer file, but it was PEM formatted so I simply changed the extension.

2. Go to settings-> Security & Privacy -> Install from SD Card
Note: I use the MIUI rom, so millage may vary a bit on other roms :D

Done! Enter your credentials password, or create a new one if you didn't have one already, and you're all set!

penky
6th December 2011, 03:47 PM
Thanks MrNago

renaming .cer to .crt really makes me being able to install it. Life can be so easy ... (MIUI 2.3)

gces
9th January 2012, 11:51 PM
I was looking for a way to do this exact thing, and found a (potentially) easier way to install the certificate. If you have access to a web site, you can just put the .crt file on it, go to the site, click the file and voila... It installs on the device.

Worked like a charm since I do not have an SD card with me, but I needed to install the certificate.

Thanks for the comments above. I had a .cer file, and renaming it worked like a champ as well.

Bryan