Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
moa77
Old
#1  
Member - OP
Thanks Meter 1
Posts: 42
Join Date: Jun 2009
Default Importing Certificates

I need to import a certificate for my WIFI. I can get this as a PEM or DER format certificate from our admins, which I can use on anything else from a laptop to a pda.

On the Nexus the certificate needs to be .p12 files (PKCS#12). I do not have one of these, nor can I get one, nor can I find a way to convert the current PEM/DER to one of these.

How do I do this? It seem pointless if the nexus requires a different format than that provided to people to work with all other devices. Admins are not going to start issuing a special format, just for nexus users, Especially when that format seems to need a private key in addition and/or another password too.

Anyone else managed to do this?
 
robert-qfh
Old
#2  
Member
Thanks Meter 0
Posts: 39
Join Date: Jan 2010
I installed a certificate (a .crt file) by opening it with the web browser (via HTTP). You could also try opening it in Astro or another file manager.
 
UmbraeSoulsbane
Old
#3  
Senior Member
Thanks Meter 13
Posts: 176
Join Date: Jan 2010
A lot of people have complained about this. Apparently you have to import it from the web browser. File and gmail apps don't seem to know how to handle the certs.

You can forward it to your gmail account then use the web browser to get to gmail and import it from there.
 
ash99
Old
#4  
Senior Member
Thanks Meter 9
Posts: 200
Join Date: Mar 2006
Hi Guys,

I don't mean to hijack the thread, I've been trying to find the full encryption standards and protocols supported by the nexus one and have not had much luck. I presume you guys might have an idea.

Anyone got a link ? Thanks for your help. Ash.
 
ash99
Old
#5  
Senior Member
Thanks Meter 9
Posts: 200
Join Date: Mar 2006
Quote:
Originally Posted by robert-qfh View Post
I installed a certificate (a .crt file) by opening it with the web browser (via HTTP). You could also try opening it in Astro or another file manager.
Quote:
Originally Posted by UmbraeSoulsbane View Post
A lot of people have complained about this. Apparently you have to import it from the web browser. File and gmail apps don't seem to know how to handle the certs.

You can forward it to your gmail account then use the web browser to get to gmail and import it from there.
I've tried opening with a few file browsers, no luck as they refuse to open them, tried various ways of opening with web browsers, no luck as all they want to do is save them, and then the file browsers dont want to open. Also tried email and opening through the web or client. No luck.

Can you guys break it down how you got it to work ?


Thanks

Ash.
 
ash99
Old
#6  
Senior Member
Thanks Meter 9
Posts: 200
Join Date: Mar 2006
Anyone know how to load a .crt and .ca certificates on the nexus one ?

I've tried doing everyway with and without the certificates.

Thanks

Ash.
 
DXPetti
Old
#7  
Junior Member
Thanks Meter 0
Posts: 16
Join Date: Jan 2010
Location: Melbourne
Just tried uploading a .DER cert to my personal FTP and goto it via the browser and it simply opened it like a text file. .P12 files are recognised by the browser fine and the user is prompted for the passkey but that is expected as .P12 seem to be the only type of cert that works on Android.
 
janfsd
Old
#8  
Member
Thanks Meter 3
Posts: 81
Join Date: Dec 2009
Location: New York
You could try to manually modify wpa_supplicant.conf . Depending on the network configuration this may vary. This is the same way you would do it in Linux. I remember I did this in my G1 ( I dunno if you need root, my G1 was rooted anyway), but the location of the file was not in /etc like it is usually in most Linux. My conf looked like this:
network={
ssid="somenetworkWPA"
proto=RSN
key_mgmt=WPA-EAP
pairwise=CCMP
eap=PEAP
identity="login@domain"
password="pass"
phase2="autheap=MSCHAPV2"
ca_cert="/sdcard/mycert.der"
}
There are plenty of samples and explanations around the net about changing this file. Hope this helps.
 
olearyp
Old
#9  
olearyp's Avatar
Senior Member
Thanks Meter 151
Posts: 1,155
Join Date: Sep 2009
Quote:
Originally Posted by janfsd View Post
You could try to manually modify wpa_supplicant.conf . Depending on the network configuration this may vary. This is the same way you would do it in Linux. I remember I did this in my G1 ( I dunno if you need root, my G1 was rooted anyway), but the location of the file was not in /etc like it is usually in most Linux.
It's /data/misc/wifi/wpa-supplicant.conf. It's owned by wifi:wifi with permissions 770. So it appears you'll need to be root.
Patrick O'Leary
Reporting a bug in a ROM, MOD, or App?

LG Nexus 4/CM 10.1
Asus Nexus 7/CM 10
Old: mT3G+TheOfficial 2.14.x; HTC G2+Andromadus

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more