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

    Openvpn client with .p12, how (file included)?

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 4.3k 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.
    • D
      diablo266
      last edited by

      Hi Everyone,

      I'm trying to setup my pfsense machine as a client to an openvpn server hosted on ipfire. Ipfire exported a .conf and .p12 file, that is it. I'm able to connect fine using this config and the .p12 file with a linux openvpn client but after spending hours googling and trying i've been unable to get pfsense to connect. I converted the .p12 file with openssl:

      openssl pkcs12 -in homevpn.p12 -out stuff.pem

      with the output being: http://pastebin.com/1zy7gk16

      But I have no idea how i'm supposed to create a certificate and ca required by pfsense openvpn from that output. Something seems to be missing? Thank you for any help!

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

        Bag Attributes
            friendlyName: ipcolo CA

        That's the CA certificate

        Bag Attributes
            friendlyName: home

        That's your certificate

        And the key is your key.

        Create a new CA, set to import, copy/paste from –---BEGIN CERTIFICATE----- to end of the CA cert, save. Then import your certificate on the Cert Manager tab using the user cert and key from the p12.

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.