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

    Export OpenVPN server?

    Scheduled Pinned Locked Moved OpenVPN
    7 Posts 3 Posters 972 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.
    • K
      killmasta93
      last edited by

      Hi,
      I was wondering if its possible to export the OpenVPN server certificate and import it to another pfSense box? The idea is that im going to virtualize pfSense currently running it on hardware. i have around 60 VPN, currently from 2.2.4 and going to upgrade to 2.3.5 or 2.4.x. I recently tried on a test box but no luck. Any ideas?

      Thank you

      Tutorials:

      https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        You may backup the whole configuration and then import it into the virtualized pfSense. The backup will also include all the certs.

        1 Reply Last reply Reply Quote 0
        • K
          killmasta93
          last edited by

          Thanks for the reply, when you say backup the whole configuration as well as the packages? The idea is to do a clean install but only backing up the OpenVPN certs with the users

          Thank you

          Tutorials:

          https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

          1 Reply Last reply Reply Quote 0
          • V
            viragomann
            last edited by

            The package information can be excluded from the backup. But you have to backup and restore the whole configuration to also have the users and certs on the new installation.

            Otherwise you may export each CA, CRL and all certs you need from cert manager and reimport them on the new installation.
            The OpenVPN servers TLS keys are included in the OpenVPN backup.

            1 Reply Last reply Reply Quote 0
            • K
              killmasta93
              last edited by

              Thanks for the reply. i saw for the backup i could download the openvpn stuff and the system which should be suffice for the restore?

              Tutorials:

              https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

              1 Reply Last reply Reply Quote 0
              • DerelictD
                Derelict LAYER 8 Netgate
                last edited by

                I was wondering if its possible to export the OpenVPN server certificate and import it to another pfSense box?

                Just export the certificate and key and import them.

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                1 Reply Last reply Reply Quote 0
                • K
                  killmasta93
                  last edited by killmasta93

                  While i was testing out the exporting from pfsense 2.2.4 to 2.3.5 i got the certs working just when i connect i keep getting that auth failure, i even copy and pasted the password thinking i was going mad crazy.

                  Pictures:
                  pfSense 2.2.4
                  0_1528744944246_cfff7347-95d8-4806-84cc-308d34a310c8-image.png
                  0_1528745221224_Clipboarder.2018.06.11.png

                  pfSense 2.3.5
                  2_1528745041234_Clipboarder.2018.06.11-005.png 1_1528745041234_Clipboarder.2018.06.11-004.png 0_1528745041234_Clipboarder.2018.06.11-003.png

                  Error:
                  0_1528745160360_Clipboarder.2018.06.11-006.png

                  Thank you

                  Tutorials:

                  https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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