kylemanna / docker-openvpn

🔒 OpenVPN server in a Docker container complete with an EasyRSA PKI CA
https://hub.docker.com/r/kylemanna/openvpn/
MIT License
8.78k stars 2.39k forks source link

Renewing client certificate #729

Closed BachirBelkhiri closed 1 year ago

BachirBelkhiri commented 1 year ago

Hi,

Can anyone show me how to renew the client certificate, without having to remove and add the client again ?

BachirBelkhiri commented 1 year ago

I found it, in case someone need it, all what you have to do is easyrsa renew <client> and to automate it maybe something like echo yes | easyrsa renew <client>

DendraSdN commented 2 months ago

when I try it doesn't show an invalid date error.. certificate expires in more than 30 days. Renewal not allowed