sslCert-gen bash script to generate self-signed certs with SAN (alternative names) Have your rootCA.pem and rootCA.key in your working directory when you run this script.