From ce0af12a2eb1767b1ce06b15b26b255c77dc2f31 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Wed, 23 Aug 2023 21:33:13 +0100 Subject: [PATCH] unit test: Use easyrsa to make a safe ssl config Signed-off-by: Richard T Bonhomme --- dev/easytls-unit-tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/easytls-unit-tests.sh b/dev/easytls-unit-tests.sh index d3814cb..8b664f8 100755 --- a/dev/easytls-unit-tests.sh +++ b/dev/easytls-unit-tests.sh @@ -615,6 +615,8 @@ elif [ -n "${EASYTLS_REMOTE_CI}" ]; then # Update safessl-easyrsa.cnf print "*** Update safessl-easyrsa.cnf - easyrsa init-pki" "${EASYRSA_CMD}" --pki-dir="${WORK_DIR}/et-tdir${loops}" --batch init-pki + "${EASYRSA_CMD}" --pki-dir="${WORK_DIR}/et-tdir${loops}" --batch makesafessl + cp -vf "${WORK_DIR}/et-tdir${loops}/safessl-easyrsa.cnf" ./safessl-easyrsa.cnf || \ fail "(1) cp ${WORK_DIR}/et-tdir${loops}/safessl-easyrsa.cnf ./safessl-easyrsa.cnf" # Remove the temp PKI - Only require safessl-easyrsa.cnf