add cleanup script for certs

This commit is contained in:
2019-01-12 20:33:58 +02:00
parent b0321589af
commit b665d4294a

7
scripts/certs/clean-all.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$DIR"
rm -f ca.{key,crt}
rm -f server/server.{crt,key,pem,p12,csr}
rm -f client/client.{crt,key,pem,p12,csr}