OpenVPN Client Export Files in pfSense 2.0RC



  • I’m using pfSense v2.0RC with OpenVPN with the Client Export feature.

    Using the “Client Export” as Configuration Archive option in pfSense, I have a functioning OpenVPN connection for my Windows Client.

    This Configuration Archive creates the following files:
    TestVPN.ovpn
    TestVPN.p12
    TestVPN-tls.key

    If I throw them into the OpenVPN directory in Windows and they connect up without issue (so long as I Run-As Administrator at least).

    My problem is that I have a VPN phone that requires the following files to work:
    Ca.crt
    Phone.crt
    Phone.key
    Vpn.cnf (custom config file)

    For reference, the sample file they have is here: http://www.snom.com/vpn/vpnclient.tar

    It appears I have not setup the right type of OpenVPN connection that generates these files .crt and key files… What type of OpenVPN setup is needed to generate these types of files? Where can I find a guide for this type of setup?



  • .p12 is a container format which contains all the three files you mentioned above.

    If you need these three files then go to Cert Manager and download the three files from there manually.


  • Rebel Alliance Developer Netgate

    If you have openssl on the box with the .p12, you can convert it back to the split files:

    openssl pkcs12 -in blah.p12 -out stuff.pem -nodes
    

    Then stuff.pem will contain all three things you want, the ca certificate, and the client certificate/key



  • I can't find where to export the client file. I'm with pfsense 2.0.1, I created the vpn server, now trying to configure a client.



  • @pat1974:

    I can't find where to export the client file. I'm with pfsense 2.0.1, I created the vpn server, now trying to configure a client.

    Did you installed the client export utility on system -> packages?



  • Thanks, didn't know I needed to install this.


Locked