sign-req: Confirm Netscape extension use immediately
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
1 file changed
+3
-9
+3
-9
@@ -2307,6 +2307,9 @@ basicConstraints is not defined, cannot use 'pathlen'"
|
||||
case "$EASYRSA_NS_SUPPORT" in
|
||||
[yY][eE][sS])
|
||||
|
||||
confirm "Confirm use of Netscape extensions: " yes \
|
||||
"WARNING: Netscape extensions are DEPRECATED!"
|
||||
|
||||
# Netscape extension
|
||||
case "$crt_type" in
|
||||
serverClient)
|
||||
@@ -2407,15 +2410,6 @@ $crt_type certificate ${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 || \
|
||||
|
||||
Reference in new issue
Block a user