Navigation

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

    OpenVPN keys and certs in one file

    OpenVPN
    2
    3
    487
    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.
    • S
      spm002 last edited by

      Hi there, is there a way to enable the ability to have the certificates all nested in one .ovpn file instead of having it in seperate files.
      I know with the Normal OpenVPN with EasyRSA, there would consist a .ovpn, CA file, a certificate and a key, which to merge it in the .ovpn config file would look something like:

      –---BEGIN OpenVPN Static key V1-----
      f745... rest of tls key
      -----END OpenVPN Static key V1-----

      <ca>-----BEGIN CERTIFICATE-----
      CA Cert here
      -----END CERTIFICATE-----</ca>

      <cert>-----BEGIN CERTIFICATE-----
      Certificate Here
      -----END CERTIFICATE-----</cert>

      <key>-----BEGIN PRIVATE KEY-----
      Key Here
      -----END PRIVATE KEY-----</key>

      But im not too sure how to do it with the pfsense openvpn config files, as when I export the client config, I get a .p12 file which cannot be put into the .ovpn file.

      Is there anyway I could go about putting all the extra keys from the pfsense openvpn config into one .ovpn file?

      Thanks.

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

        Try exporting to Viscosity inline and see if that doesn't get you closer to what you are looking for.

        The exports are exported in a way that the target systems need for import.

        ETA: You probably want Inline > Others

        1 Reply Last reply Reply Quote 0
        • S
          spm002 last edited by

          Didnt realize it was that simple haha.
          Thanks a lot!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Products

          • Platform Overview
          • TNSR
          • pfSense
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy