From 8a65299ad1304914652986bc6ee6e7ca79d10407 Mon Sep 17 00:00:00 2001 From: deflax Date: Sun, 10 Oct 2021 15:48:44 +0000 Subject: [PATCH] remove placeholder from certificates --- .gitignore | 1 - data/certificates/.placeholder | 0 gen-selfsigned.sh | 1 + 3 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 data/certificates/.placeholder diff --git a/.gitignore b/.gitignore index e4a93a6..b4a04da 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,6 @@ logs/certbot/* # ignore generated certificates for haproxy data/certificates/* -!data/certificates/.placeholder # ignore rtmp directories data/rtmp/hls/* diff --git a/data/certificates/.placeholder b/data/certificates/.placeholder deleted file mode 100644 index e69de29..0000000 diff --git a/gen-selfsigned.sh b/gen-selfsigned.sh index f0b420f..7316302 100755 --- a/gen-selfsigned.sh +++ b/gen-selfsigned.sh @@ -1,5 +1,6 @@ #!/bin/bash +mkdir -p data/certificates cd data/certificates openssl genrsa -out default.key 2048 openssl req -new -key default.key -out default.csr