How do I import certificates to connect to a WPA2 network?

How do I import certificates to connect to a WPA2 network?

Postby keksbaecker » Jun 18th, '11, 00:20

Hi,
I don't know if I'm asking a stupid question but I have to ask. :oops:
To connect to the wifi of my university I have to install/import a certificate.
My problem: The guide "how to install the certificate" is for Ubuntu 10.04 and those step aren't working for Mageia 1.
So can someone please tell me how do I import/install a new certificate??
keksbaecker
 
Posts: 4
Joined: Jun 17th, '11, 19:22

Re: How do I import certificates to connect to a WPA2 networ

Postby Akien » Jun 18th, '11, 11:13

Hi and welcome to the forum!

That's not a stupid question :)
I don't know much about certificates, but maybe we could adapt the Ubuntu guide for Mageia?
Can you post it somewhere? (here if it is short, on a pastebin if it is too long, or give us the URL if you have one).
Image
Co-leader of Mageia's packaging and development team (dev).
List of packages I maintain.
User avatar
Akien
 
Posts: 171
Joined: Jun 5th, '11, 22:54
Location: Brunswick, Germany

Re: How do I import certificates to connect to a WPA2 networ

Postby keksbaecker » Jun 18th, '11, 14:34

Thanks for your quick response.
Sure I can post it.

Download the certificate:
wget http://www.tubit.tu-berlin.de/fileadmin ... tkette.pem

Create a subfolder in the certificate folder:
mkdir -p /usr/share/ca-certificates/tu-berlin.de

Move the certificate to the created folder:
mv TU-Berlin_Zertifikatkette.pem /usr/share/ca-certificates/tu-berlin.de/TU-Berlin_Zertifikatkette.pem

Add the root-certificates to the SSL-certificate-database:
echo tu-berlin.de/TU-Berlin_Zertifikatkette.pem >> /etc/ca-certificates.conf

Reload the certificate-database:
update-ca-certificates

And before I forget all steps shall be performed as root. I think I have to store the certificate somewhere in /etc/pki/tls/ but I neither know if that is correct nor what the command is to reload the database.
keksbaecker
 
Posts: 4
Joined: Jun 17th, '11, 19:22

Re: How do I import certificates to connect to a WPA2 networ

Postby keksbaecker » Jun 27th, '11, 12:11

I just wanted to say that I have solved my problem by moving the certificate into /etc/pki/tls/private/ and writing the absolute path into the correct field of the network manager. There was no other command to update some database. :D Now that it works I'm really surprised how it easy was.
keksbaecker
 
Posts: 4
Joined: Jun 17th, '11, 19:22

Re: How do I import certificates to connect to a WPA2 networ

Postby Germ » Jun 27th, '11, 13:40

Glad you got it sorted. :)
Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 570
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron