Closed simplecode678 closed 6 years ago
On line 42 of https://github.com/theonemule/simple-openvpn-server/blob/master/index.sh, you can pass in a --days parameter whenever EasyRSA is creating the client certificate. That would invalidate the certificate after however many days you want. Currently, it's set to 3650, so 10 years.
So results is just ./easyrsa build-client-full $client nopass --days 31 or do i have to change anything else ? thanks !
That should work. :)
I have check client ovpn file Validity Not Before: Dec 11 15:42:44 2017 GMT Not After : Dec 9 15:42:44 2027 GMT So are still with 10 years :( Any other idea please ?
I'll have to get back to you... Gotta work on other stuff right now.
thanks ! I will have a look as well on my side :)
Very cool. That's what OSS is great for. :)
Hi, Any idea please to make auto revoke client certificate after 31 days (or any date) ? So we are able to revoke with admin panel or auto revoke following settings. Thanks ! Nice openvpn admin ! Raz