#!/bin/bash set -e echo "Generating CA key..." openssl genrsa -out ${rootdir}/key/ca.key 4096 > /dev/null 2>&1 chmod 400 ${rootdir}/key/ca.key