mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
add cert generation to renewcerts script
This commit is contained in:
@ -66,6 +66,7 @@ check_result(){
|
|||||||
run_renewcerts(){
|
run_renewcerts(){
|
||||||
cd certs/ || { echo "Couldn't cd to certs directory"; exit 1; }
|
cd certs/ || { echo "Couldn't cd to certs directory"; exit 1; }
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
#move the custom cnf into our working directory
|
#move the custom cnf into our working directory
|
||||||
cp renewcerts/wolfssl.cnf wolfssl.cnf || exit 1
|
cp renewcerts/wolfssl.cnf wolfssl.cnf || exit 1
|
||||||
|
|
||||||
@ -587,6 +588,17 @@ run_renewcerts(){
|
|||||||
echo "End of section"
|
echo "End of section"
|
||||||
echo "---------------------------------------------------------------------"
|
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 ######################
|
########## generate ocsp certs ######################
|
||||||
############################################################
|
############################################################
|
||||||
echo "Changing directory to ocsp..."
|
echo "Changing directory to ocsp..."
|
||||||
|
Reference in New Issue
Block a user