eduvpn/vpn-server-api

make sure issued client certs never expire CA

fkooman opened this issue · 3 comments

Currently this results in an error... so if the "not after" time is later than the CA time, use -not-after CA instead the make the time exactly the same as the CA.

So assume you have a sessionExpiry of P1Y if you want to get a client certificate within one year of the CA expiring, this would result in an error. It is (much) better to have everything expire at the same time...

This was fixed a long time ago.

Only fixed in 3.x, not (yet) in 2.x.

Fixed in these commits for 2.x: