This commit is contained in:
swrup 2025-11-02 13:32:06 +01:00
parent f4d9f8e618
commit a0f09b6cab
11 changed files with 13 additions and 71 deletions

5
gen_tls.sh Normal file
View file

@ -0,0 +1,5 @@
#!/bin/sh
hostname="${2:-localhost}"
openssl req -x509 -newkey rsa:4096 -keyout data/tls/keys/$1 -out data/tls/certificates/$1 -sha256 -days 365 -subj "/CN=$hostname" -nodes