style: move make-selfsigned-https.sh to scripts/

This commit is contained in:
zkldi
2022-04-25 08:28:38 +01:00
parent 785e250fb5
commit 4d0b535121
+10
View File
@@ -0,0 +1,10 @@
#! /bin/bash
# This command is for dev servers only! You should use this to
# create a self-signed HTTPS certificate for local dev.
# That is it. This is not secure.
mkdir -p cert
yes "" | openssl req -x509 -newkey rsa:4096 -keyout ./cert/key.pem -out ./cert/cert.pem -sha256 -days 365 --nodes &> /dev/null
echo "Created HTTPS Certificates!"