#!/bin/bash mkdir -p ssl rm -rf ./ssl/* pushd ./ssl openssl req -x509 \ -sha256 -days 356 \ -nodes \ -newkey rsa:2048 \ -subj "/CN=example.com/C=US/L=San Fransisco" \ -keyout rootCA.key -out rootCA.crt openssl genrsa -out server.key 2048 cat > csr.conf < cert.conf <