All my Ansible Playbooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
275 B

#!/bin/bash
set -e # Exit immediately if a command exits with a non-zero status.
MYDIR="$(dirname $0)"
cd "$MYDIR"
rm -rf ca/newcerts/*
echo "01" > ca/serial
echo "01" > ca/crlnumber
echo -n > ca/index.txt
rm -f ca/root_ca.crt ca/root_ca.crl ca/root_ca.key truststore.jks