Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Right, i'm quite new to linux 'Ubuntu 10.10' and i'm having a hard time trying to import keys and certificates for vpn connection to my work office server.

I have a .p12 file which is the key i'm guessing. I also have a .ovpn file which could be config settings for the connection.

How would i import these files to get a connection up and running.

Any instructions would be greatly appreciated.

share|improve this question

migrated from Apr 16 '11 at 21:11

This question came from our site for professional and enthusiast programmers.

If you are unfamiliar with openvpn, you might want to try using NetworkManager to configure it. Afaik there is a package called network-manager-openvpn that will enable openvpn in your NetworkManager VPN section. The .p12 file should already contain the CA certificate, the client certificate and the client private key. If NetworkManager cannot use that file (but only accepts each of the three files individually in PEM format) you might need to convert your file.

If though you decide to run openvpn yourself as root, the configuration directive to use your file is

pkcs12 client.p12

as documented in openvpn(8).

share|improve this answer

You must log in to answer this question.