Page 1 of 1

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

PostPosted: Jun 18th, '11, 00:20
by keksbaecker
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??

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

PostPosted: Jun 18th, '11, 11:13
by Akien
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).

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

PostPosted: Jun 18th, '11, 14:34
by keksbaecker
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.

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

PostPosted: Jun 27th, '11, 12:11
by keksbaecker
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.

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

PostPosted: Jun 27th, '11, 13:40
by Germ
Glad you got it sorted. :)