LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-20-2011, 03:14 AM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
setup openvpn on new server?


I have 2 servers and I want to copy all the config files from server 1 to server 2.
Is this possible?
I thought that this might mess up the certificates encryption process on the new server with openssl as it might be different?
 
Old 09-23-2011, 10:41 AM   #2
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
anyone?
 
Old 09-23-2011, 01:41 PM   #3
LBM
Member
 
Registered: Aug 2010
Location: Denmark
Distribution: Debian
Posts: 114

Rep: Reputation: 1
As long as your copy the certificates and the key files, I believe you should be fine, since OpenVPN uses already created certificates from your old installation in this case.

Nothing, I have tried myself though.
 
Old 09-23-2011, 02:59 PM   #4
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by LBM View Post
As long as your copy the certificates and the key files, I believe you should be fine, since OpenVPN uses already created certificates from your old installation in this case.

Nothing, I have tried myself though.
What about new certificates?
Also, doesn't the server certificate have to be created each time?
 
Old 09-23-2011, 03:06 PM   #5
LBM
Member
 
Registered: Aug 2010
Location: Denmark
Distribution: Debian
Posts: 114

Rep: Reputation: 1
Well, I use a CA (still OpenSSL) which is installed and configured seperately from OpenVPN. But if you export the key CA key file, you should be able to create new certificates with this key file. For the server certificate itself, you can copy this to the new server as well. Doing so, will make the new certificate to come from the same CA as the old server.

I am not sure how you have configured and intalled the certificate function in OpenVPN, but sometimes it have some build-in scripts which is uses, then you have to make a backup of this (most likely the key file is here).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN Setup Issues metallica1973 Linux - Networking 6 10-11-2010 06:52 AM
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
OpenVPN Setup Problem rcmonroig Linux - Networking 1 02-04-2010 06:54 PM
How does OpenVPN Linux server issues IP and netmask to OpenVPN clients on Windows XP pssompura Linux - Networking 0 12-24-2009 02:42 AM
OpenVPN server setup issue (permission denied for file 01.pem) elliot01 Linux - Networking 3 07-06-2009 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration