1#!/bin/sh 2 3openssl genrsa -out ca.key 2048 && \ 4printf "\\n\\n\\n\\n\\n\\n\\n" | \ 5openssl req -config tmp.cnf -x509 -new -nodes -key ca.key -sha256 -days 1024 -out ca.pem 6 7