fix dhparams

Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
This commit is contained in:
Daniel Hansson
2024-06-12 15:21:52 +02:00
committed by GitHub
parent cd5904c628
commit a185a015e8

View File

@ -307,8 +307,11 @@ else
if [ -d "$CERTFILES" ] if [ -d "$CERTFILES" ]
then then
# Generate DHparams cipher # Generate DHparams cipher
if [ ! -f "$DHPARAMS_TLS" ] if [ -f "$DHPARAMS_TLS" ]
then then
rm -f "$DHPARAMS_TLS"
openssl dhparam -out "$DHPARAMS_TLS" 2048
else
openssl dhparam -out "$DHPARAMS_TLS" 2048 openssl dhparam -out "$DHPARAMS_TLS" 2048
fi fi
# Activate new config # Activate new config