Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
self-sign: Adjust 'X509v3 Key Usage'
Self signed certificates are not used for any signing purposes. Replace signing usage with standard server/client usage. Set: X509v3 Key Usage: Digital Signature, Key Encipherment Remove: X509v3 Key Usage: Certificate Sign, CRL Sign If this is changed by using SSL command 'req', option -addext, without using an SSL config file then 'X509v3 Basic Constraints' is set to 'critical'. Also, SSL command 'req' does not support -extfile, which is why the script uses the '#%CA_X509_TYPES_EXTRA_EXTS%' marker in order to insert the required extensions into the SSL config file. This change is of no consequense to OpenVPN peer fingerprint mode but it does make all EasyRSA generated certificates use extensions consistently. This also introduces an x509-type file for self-signed certificates. This file is not exposed via the x509-types files, it is retained for internal use only. Signed-off-by: Richard T Bonhomme <[email protected]>
- Loading branch information