Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    OpenVPN Client Export Files in pfSense 2.0RC

    Scheduled Pinned Locked Moved OpenVPN
    6 Posts 5 Posters 4.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cmariotti
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke
        last edited by

        .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.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          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

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • P
            pat1974
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • marcellocM
              marcelloc
              last edited by

              @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?

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • P
                pat1974
                last edited by

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

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.