OpenVPN / easy-rsa

easy-rsa - Simple shell based CA utility
Other
4k stars 1.19k forks source link

Remove ALL `renew` commands #1108

Closed TinCanTech closed 4 months ago

TinCanTech commented 5 months ago

Redirect renew to the correct procedure.


The current code to manage certificate renewal is unnecessary.

A certificate renewal is simple:

All that is required is to keep the original request in the pki/reqs folder when revoking the old certificate.

The only problem is that the old certificate must be revoked before the new certificate can be signed and distributed.

This can be worked around by not updating the certificate revocation list until the new certificate has been deployed. Not ideal.

However, there is another approach:

Once expired, there is little reason to formally revoke a certificate. However, revoke-renewed can be repurposed (eg. revoke-expired) for such an eventuality.

TinCanTech commented 4 months ago

Closed via 9d94207