copy client conf to secondary server

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
mickael
OpenVpn Newbie
Posts: 2
Joined: Mon Feb 19, 2018 10:04 am

copy client conf to secondary server

Post by mickael » Mon Feb 19, 2018 10:10 am

Hello

I'm building 2 linux openvpn server to provide an High Availability vpn service.
They are working great individually, but I can't find in the documentation or google how to copy a client wich is generated on server1 to server2.
Is there an official process ? Right now I copy user.key, user.crt, user.scr, to server2 keys directory.
Then, in the ovpn client config I add the ca and tls_auth keys from server2 but it's not working.

Could you provide a guide ? Is this the wrong way do handle this ?

Thanks, regards.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: copy client conf to secondary server

Post by TinCanTech » Mon Feb 19, 2018 1:07 pm

All user cert/keys are tied to the CA.crt/key not the server itself. (Provided you use easyrsa)

Post Reply