Skip to content

Commit

Permalink
unit test: Use easyrsa to make a safe ssl config
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Aug 23, 2023
1 parent fcf193a commit ce0af12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/easytls-unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce0af12

Please sign in to comment.