Hi,
I'm using OpenVPN on Debian for a while now, and now I need to move it to another Debian box. I remember when I created the keys for the clients, the script told me they were commited to a database.
What config files and database files do I need to move to the new box so I can keep all the config up and running within minutes ?
Many thanks by advance ...
Where's the database from generated keys ?
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Dec 07, 2010 5:09 pm
- gladiatr72
- Forum Team
- Posts: 194
- Joined: Mon Dec 13, 2010 3:51 pm
- Location: Lawrence, KS
Re: Where's the database from generated keys ?
Hello,
Well, with an OpenSSL CA, you're going to have 4 things you'll want to preserve:
. openssl.cnf (if you customized it at all)
. your keys and certs (including your ca.crt/key files)
. serial (this is just a running counter of the last index used in...)
. index.txt (keeps a list of your certs and is used to verify uniqueness of the certificate Subject and whether or not they've been revoked)
That's really it unless you're using a fancier method of maintaining your CA than I am
Regards,
Stephen
Well, with an OpenSSL CA, you're going to have 4 things you'll want to preserve:
. openssl.cnf (if you customized it at all)
. your keys and certs (including your ca.crt/key files)
. serial (this is just a running counter of the last index used in...)
. index.txt (keeps a list of your certs and is used to verify uniqueness of the certificate Subject and whether or not they've been revoked)
That's really it unless you're using a fancier method of maintaining your CA than I am

Regards,
Stephen
[..]I used to think it was awful that life was so unfair. [...]Wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? -Marcus Cole
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Dec 07, 2010 5:09 pm
Re: Where's the database from generated keys ?
Thanks for the reply, I think I'll give it a try with your tips and see what happen !
Hope I'll find the time withing Christmas days ...
Hope I'll find the time withing Christmas days ...