From 911e8ac4b7afd0edf159f491d13a117b2d23f729 Mon Sep 17 00:00:00 2001 From: Distortions81 Date: Sun, 10 Nov 2024 21:48:29 -0700 Subject: [PATCH] add cert gen --- data/makecert.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 data/makecert.sh diff --git a/data/makecert.sh b/data/makecert.sh new file mode 100644 index 0000000..c12b082 --- /dev/null +++ b/data/makecert.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +openssl genrsa -out server.key 2048 +openssl ecparam -genkey -name secp384r1 -out server.key +openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650 \ No newline at end of file