remove placeholder from certificates

This commit is contained in:
deflax 2021-10-10 15:48:44 +00:00
parent 802ff17d46
commit 8a65299ad1
3 changed files with 1 additions and 1 deletions

1
.gitignore vendored
View file

@ -10,7 +10,6 @@ logs/certbot/*
# ignore generated certificates for haproxy # ignore generated certificates for haproxy
data/certificates/* data/certificates/*
!data/certificates/.placeholder
# ignore rtmp directories # ignore rtmp directories
data/rtmp/hls/* data/rtmp/hls/*

View file

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
mkdir -p data/certificates
cd data/certificates cd data/certificates
openssl genrsa -out default.key 2048 openssl genrsa -out default.key 2048
openssl req -new -key default.key -out default.csr openssl req -new -key default.key -out default.csr