Openvpn – How to backup a Pritunl Client profile

openvpn

I am using Pritunl Client on one computer and would like to backup the profile in order to import it on a second computer. I have tried copying the .ovpn and .conf files in my home/.config/pritunl/profiles directory to the second computer.

When I import the .conf file in Pritunl Client on the second OS X computer, I get the following error when trying to connect:

Failed to get key from keychain (security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain. )

When importing the .ovpn file and trying to connect, it asks for my username and password (but not the OTP key or PIN). I get an error saying "Failed to authenticate."

How can I export and then import my Pritunl profile in order to configure Pritunl on a second computer?

Best Answer

To use pritunl profile in another computer:

  1. Copy desired profile from pritunl/profiles directory.
  2. Search "pritunl" in Keychain Access app and open it to see account, password and etc.
  3. Then Create one item like as that in Keychain Access app of destination computer.
  4. Now open Pritunl app and you can see the profile and connect to it :)