d3vilh / openvpn-ui

Web User Interface for OpenVPN
MIT License
258 stars 57 forks source link

How to refresh certificates - for server and client? #12

Closed PennyLook closed 1 year ago

PennyLook commented 1 year ago

Hello, On the /certificates page we have a preview of the certificates. There is an Expiration date after which the client/server will probably not have access to the VPN. I'm referring to these dates:

image

How do you refresh these certificates? Is it possible to do it somehow without breaking the current server<->client connection e.g. by swapping .ovpn config on client and server?

d3vilh commented 1 year ago

for the clients you can do with renew feature. Server itself (CA) is not possible to renew, the only way is to create CA with infinite expiration time (lets say 99 years) or generate new CA.