From 2ee08cc8bdd00f0cd39bc533d5d3e11cda4dab08 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Sat, 12 Oct 2024 21:32:11 +0100 Subject: [PATCH] sign-req: Allow custom X509 Types In order to sign a custom X509 Type certificate, there must be a corresponding SSL configuration file in the 'x509-type' folder. Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index b504a375..20ab7d94 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -2390,7 +2390,11 @@ sign_req() { : # All known types plus CA for sub-ca ;; *) - user_error "Type is not recognised: '$crt_type'" + warn "\ +Unrecognised x509-type: '$crt_type' + +In order to sign a custom X509 Type certificate, there must be a +corresponding SSL configuration file in the 'x509-type' folder." esac # Check argument sanity: @@ -4866,6 +4870,7 @@ write_x509_type_tmp() { write_legacy_file_v2 "$1" "$write_x509_file_tmp" || \ die "write_x509_type_tmp - write $1" + verbose ": write_x509_type_tmp: $1 COMPLETE" } # => write_x509_type_tmp()