sign-req: Require confirm use of deprecated Netscape extensions

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2023-05-01 21:17:48 +01:00
parent 4f1c16aa9f
commit a724ca91d1
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246

View File

@ -2084,6 +2084,15 @@ ${valid_period}:
$(display_dn req "$req_in")
" # => confirm end
# Confirm deprecated use of NS extensions
case "$EASYRSA_NS_SUPPORT" in
[yY][eE][sS])
confirm "Confirm use of Netscape extensions: " yes \
"WARNING: Netscape extensions are DEPRECATED!"
;;
*) : #ok
esac
# Assign temp cert file
crt_out_tmp=""
easyrsa_mktemp crt_out_tmp || \