mirror of https://github.com/wolfSSL/wolfMQTT.git
Add renewal script for cert dir
parent
b3cabf49d3
commit
f64c9ab056
|
@ -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 .
|
Loading…
Reference in New Issue