diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 1cd7e0a..ca7ba10 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -896,8 +896,6 @@ current CA keypair. If you intended to start a new CA, run init-pki first." # example: "-addext foo,a:b -addext bah,c:d -addext baz e:f,g" [ "${EASYRSA_EXTRA_EXTS%% *}" = '-addext' ] || \ die "EASYRSA_EXTRA_EXTS: $EASYRSA_EXTRA_EXTS" - EASYRSA_CA_EXTRA_EXTS="$EASYRSA_EXTRA_EXTS" - unset -v EASYRSA_EXTRA_EXTS fi # Choose SSL Library version (1, 2(LibreSSL) or 3) and build CA @@ -972,7 +970,7 @@ current CA keypair. If you intended to start a new CA, run init-pki first." # create the CA keypair: easyrsa_openssl req -utf8 -new \ -key "$out_key_tmp" -keyout "$out_key_tmp" -out "$out_file_tmp" \ - $opts $EASYRSA_CA_EXTRA_EXTS \ + $opts $EASYRSA_EXTRA_EXTS \ ${crypto_opts:+ "$crypto_opts"} \ ${EASYRSA_PASSIN:+ -passin "$EASYRSA_PASSIN"} \ ${out_key_pass_tmp:+ -passin file:"$out_key_pass_tmp"} \ @@ -1041,7 +1039,7 @@ current CA keypair. If you intended to start a new CA, run init-pki first." easyrsa_openssl req -utf8 -new \ -key "$out_key_tmp" -keyout "$out_key_tmp" -out "$out_file_tmp" \ - $opts $EASYRSA_CA_EXTRA_EXTS \ + $opts $EASYRSA_EXTRA_EXTS \ ${crypto_opts:+ "$crypto_opts"} \ ${EASYRSA_PASSIN:+ -passin "$EASYRSA_PASSIN"} \ ${out_key_pass_tmp:+ -passin file:"$out_key_pass_tmp"} \