Merge pull request #4129 from JacobBarthelmeh/Testing

add cert generation to renewcerts script
This commit is contained in:
David Garske 2021-06-16 10:21:59 -07:00 committed by GitHub
commit 27218e1d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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..."