#!/bin/bash openssl req -x509 -newkey rsa:4096 \ -keyout server-key.pem \ -out server-cert.pem \ -days 365 -nodes -batch \ -subj /CN=localhost