OpenVPN / easy-rsa

easy-rsa - Simple shell based CA utility
Other
4.07k stars 1.2k forks source link

init-pki: Add second confirmation to promote use of option 'soft' #1217

Closed TinCanTech closed 3 months ago

TinCanTech commented 3 months ago

When 'init-pki hard' (Default) is used, add a second confirmation to promote use of 'init-pki soft'.

When 'init-pki soft' is used, keep 'pki/reqs' directory and 'pki/vars' file.

Add 'pki/expired' directory to target list, to be removed for 'init-pki soft'.