diff options
author | Daniel Hansson <mailto@danielhansson.nu> | 2022-05-08 23:45:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 23:45:18 +0300 |
commit | aa95385135fcc7fa1bcb17927a684bd99a5c3c2a (patch) | |
tree | 8d0108e8aca067c7ee6c57ebb4534d4768c62904 /lets-encrypt | |
parent | 574dfee60f1589be2f6f09b03558471e871a1072 (diff) |
fix DHParams (#2301)
Diffstat (limited to 'lets-encrypt')
-rw-r--r-- | lets-encrypt/activate-tls.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lets-encrypt/activate-tls.sh b/lets-encrypt/activate-tls.sh index 172c72d1..4cd6a07c 100644 --- a/lets-encrypt/activate-tls.sh +++ b/lets-encrypt/activate-tls.sh @@ -210,7 +210,7 @@ then SSLCertificateChainFile $CERTFILES/$TLSDOMAIN/chain.pem SSLCertificateFile $CERTFILES/$TLSDOMAIN/cert.pem SSLCertificateKeyFile $CERTFILES/$TLSDOMAIN/privkey.pem - # SSLOpenSSLConfCmd DHParameters $DHPARAMS_TLS + SSLOpenSSLConfCmd DHParameters $DHPARAMS_TLS </VirtualHost> ### EXTRAS ### @@ -238,7 +238,7 @@ then # Generate DHparams cipher if [ ! -f "$DHPARAMS_TLS" ] then - openssl dhparam -dsaparam -out "$DHPARAMS_TLS" 4096 + openssl dhparam -out "$DHPARAMS_TLS" 2048 fi # Choose which port for public access msg_box "You will now be able to choose which port you want to put your Nextcloud on for public access.\n @@ -298,7 +298,7 @@ else # Generate DHparams cipher if [ ! -f "$DHPARAMS_TLS" ] then - openssl dhparam -dsaparam -out "$DHPARAMS_TLS" 4096 + openssl dhparam -out "$DHPARAMS_TLS" 2048 fi # Activate new config check_command bash "$SCRIPTS/test-new-config.sh" "$TLSDOMAIN.conf" |