#!/bin/bash # =========================================================== # create the www server certificate # ----------------------------------------------------------- # replace server with www.example.com # =========================================================== openssl ca -config openssl.cnf -extensions server_cert \ -days 3650 -notext -md sha256 \ -in csr/server.csr.pem \ -out certs/server.cert.pem