add cert generation to renewcerts script

This commit is contained in:
Jacob Barthelmeh
2021-06-16 14:31:33 +07:00
parent 5bb639f6db
commit d8fc01aabf

View File

@ -66,6 +66,7 @@ check_result(){
run_renewcerts(){
cd certs/ || { echo "Couldn't cd to certs directory"; exit 1; }
echo ""
#move the custom cnf into our working directory
cp renewcerts/wolfssl.cnf wolfssl.cnf || exit 1
@ -587,6 +588,17 @@ run_renewcerts(){
echo "End of section"
echo "---------------------------------------------------------------------"
############################################################
###### calling gen-testcerts.sh ##################
############################################################
echo "Calling gen-testcerts.sh"
echo ""
cd ./test || { echo "Failed to switch to dir ./test"; exit 1; }
./gen-testcerts.sh
check_result $? "gen-testcerts.sh"
cd ../ || exit 1
echo "End of section"
echo "---------------------------------------------------------------------"
############################################################
########## generate ocsp certs ######################
############################################################
echo "Changing directory to ocsp..."