hellgate/gen_cert.sh

11 lines
176 B
Bash
Executable File

#!/bin/sh
mkdir tls
openssl req \
-x509 \
-newkey rsa:4096 \
-keyout tls/key.pem \
-out tls/cert.pem \
-days 365 \
-nodes \
-subj '/CN=localhost' \