From e254ee44512f4aa54edee31ad4a3764df29a0e47 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Mon, 1 May 2023 22:30:40 +0100 Subject: [PATCH] gen-req: Standardise error message for old easyrsa-openssl.cnf Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index a647e83..6b5017a 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -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