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



  • 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!


  • Rebel Alliance Developer Netgate

    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.


Log in to reply