#!/bin/bash set -xe ORG="Test Org" CA="rauc CA" # After the CRL expires, signatures cannot be verified anymore CRL="-crldays 5000" BASE="$(pwd)/openssl-ca" if [ -e $BASE ]; then echo "$BASE already exists" exit 1 fi mkdir -p $BASE/dev/{private,certs} touch $BASE/dev/index.txt echo 01 > $BASE/dev/serial cat > $BASE/openssl.cnf <