fix naming for dhparams.pem file

This commit is contained in:
Philip Henning 2024-11-19 11:18:46 +01:00
parent d542bbd20d
commit c237c41457
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ echo "" >> ./.env
# Generate dhparam, if not existing
[[ ! -d ./data/nginx/certs ]] && mkdir -p ./data/nginx/certs && chmod 700 ./data/nginx/certs || true
[[ ! -f ./data/nginx/certs/dhparam.pem ]] && echo "" && openssl dhparam -out ./data/nginx/certs/dhparams.pem 4096 \
[[ ! -f ./data/nginx/certs/dhparams.pem ]] && echo "" && openssl dhparam -out ./data/nginx/certs/dhparams.pem 4096 \
&& echo "" && echo "Checking generated dhparams" && openssl dhparam -check -in ./data/nginx/certs/dhparams.pem || true
# Create certificate