verify_algo_params(): Call SSL lib via EASYRSA_OPENSSL
verify_algo_params() expects errors when settings are not corrrect. Therefore, is must not use easyrsa_openssl() meta-wrapper, which would error out with a misleading error message. Fixing this also ensures that the SAFE SSL config is not built prior to EASYRSA_REQ_CN being set. Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
parent
e68a41c50f
commit
601766bdaf
@ -4901,7 +4901,7 @@ verify_algo_params() {
|
|||||||
"verify_algo_params - easyrsa_mktemp EASYRSA_ALGO_PARAMS"
|
"verify_algo_params - easyrsa_mktemp EASYRSA_ALGO_PARAMS"
|
||||||
|
|
||||||
# Create the required ecparams file
|
# Create the required ecparams file
|
||||||
easyrsa_openssl ecparam -name "$EASYRSA_CURVE" \
|
"$EASYRSA_OPENSSL" ecparam -name "$EASYRSA_CURVE" \
|
||||||
-out "$EASYRSA_ALGO_PARAMS" \
|
-out "$EASYRSA_ALGO_PARAMS" \
|
||||||
1>/dev/null || die "\
|
1>/dev/null || die "\
|
||||||
Failed to generate ecparam file (permissions?) at:
|
Failed to generate ecparam file (permissions?) at:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user