Add renewal script for cert dir

pull/321/head
Lealem Amedie 2023-03-17 09:38:39 -06:00
parent b3cabf49d3
commit f64c9ab056
1 changed files with 14 additions and 0 deletions

14
certs/renew.sh 100755
View File

@ -0,0 +1,14 @@
if [ -z $1 ]; then
echo "run with path to certs <./renew.sh /path/to/wolfssl/certs>"
exit 1
fi
CERTS_DIR=$1
echo "Copy over test keys"
cp $CERTS_DIR/client-key.pem .
cp $CERTS_DIR/ecc-client-key.pem .
echo "Copy over test certificates"
cp $CERTS_DIR/client-cert.pem .
cp $CERTS_DIR/client-ecc-cert.pem .