Lost data
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Jun 25, 2019 11:27 am
Lost data
Hello.
I have a problem, I lost the easy-rsa with the server certificates. Currently, I have no chance recovery tahat. I have file and CA.crt and user cert and key. Is it possible to recover it?
ca /etc/openvpn/easy-rsa/keys/ca.crt # generated keys
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key # keep secret
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
Please help
I have a problem, I lost the easy-rsa with the server certificates. Currently, I have no chance recovery tahat. I have file and CA.crt and user cert and key. Is it possible to recover it?
ca /etc/openvpn/easy-rsa/keys/ca.crt # generated keys
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key # keep secret
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
Please help
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Lost data
If you have lost your ca.key then start a new PKI from scratch.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Jun 25, 2019 11:27 am
Re: Lost data
old client can connect to new PKI?
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Lost data
If you have lost your ca.key then your PKI is of no further use.
Your current VPN will continue to work but you cannot sign any new certificates.
Your current VPN will continue to work but you cannot sign any new certificates.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Jun 25, 2019 11:27 am
Re: Lost data
OK but I don't have server.crt, server.key and dh1024.pem. So if I generate new PKI and config then old user connected to new VPN Server ?
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Lost data
If you make a new PKI with a new server then your client will not be able to connect until the client has a new certificate and copy of the new ca.crt
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Jun 25, 2019 11:27 am
Re: Lost data
ok. I have ca.key, how I can restore CA.crt?
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Lost data
Every client and server using the same PKI has a copy of the ca.crt