#!/usr/bin/env bash CFG_DIR=$(dirname "$0") CWD=$(pwd) cd $CFG_DIR rm -f *.crt *.csr *.key index.* serial.* serial.* *.txt *.pem # client/* # rmdir client &> /dev/null || true cd $CWD