gen-req: Standardise error message for old easyrsa-openssl.cnf

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2023-05-01 22:30:40 +01:00
parent 625dae2339
commit e254ee4451
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246

View File

@ -1792,11 +1792,12 @@ Continuing with key generation will replace this key."
if ! grep -q '^#%EXTRA_EXTS%' "$EASYRSA_SSL_CONF"
then
die "\
The copy of openssl-easyrsa.cnf in use \
does not support request extensions.
This openssl config file does \
does not support EASYRSA_EXTRA_EXTS.
* $EASYRSA_SSL_CONF
Please update openssl-easyrsa.cnf \
to the latest official release."
Please update 'openssl-easyrsa.cnf' \
to the latest Easy-RSA release."
fi
# Setup & insert the extra ext data keyed by a magic line