Results 1 to 2 of 2

Thread: Import VPN Connection from ovpn File Containing Certificates Using Network Manager

  1. #1
    Join Date
    Mar 2010
    Beans
    6

    Import VPN Connection from ovpn File Containing Certificates Using Network Manager

    Hi All:

    I am fairly clueless when it comes to open vpn configuration file. Though I should have some understanding to execute the fix if it is available.

    I have a ovpn file that is created by my organization (so theoretically there should be nothing wrong with it) containing not only the typical connection information, but also my CA key, certerficate/Public and certificate/Private key. I was able to locate these keys using the standard text editors.

    When I follow the procedure to import (Right click on Internet Icon --> Edit Connection --> VPN Tab --> Import) none of my keys were imported (perhaps the import is not complete). I think because of the import failure I was not able to click ok and create the connection.

    Is there a method to get around this and get it working? I have been looking for existing solution online but I was not able to find any similar cases with mine.


    Thank you for your help in advance.
    Last edited by acetace; March 24th, 2010 at 05:33 PM.

  2. #2
    Join Date
    Mar 2010
    Beans
    6

    Re: Import VPN Connection from ovpn File Containing Certificates Using Network Manage

    Solved it myself.

    I was looking for a way to get the certificate out from the *.ovpn file. However for the life of me I could not get it showing in Network Manager after I copy and pasted it out into a text file.

    It turned out that the certificate copying the value of the certificate is not enough, one need to include the lines that goes "---- BEGIN CERTIFICATE----" and the corresponding end, essentially everything that is included under the <ca></ca> and <cert></cert> codes in order for the certificate to show up for the Network Manager to pickup.

    Once I did that and putting the certificates where they belong, and validated that all the settings in the ovpn file has been transcribed it started working miraculously thing worked great.

    Regardless, I hope to post my solution here in case other novice linux users like me bump into similar problem.


    Cheers.
    Last edited by acetace; March 24th, 2010 at 07:54 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •