diff --git a/apps/collabora_docker.sh b/apps/collabora_docker.sh index 52620ff2..09a2fe00 100644 --- a/apps/collabora_docker.sh +++ b/apps/collabora_docker.sh @@ -240,7 +240,7 @@ then # Generate DHparams cipher if [ ! -f "$DHPARAMS_SUB" ] then - openssl dhparam -dsaparam -out "$DHPARAMS_SUB" 4096 + openssl dhparam -out "$DHPARAMS_SUB" 2048 fi print_text_in_color "$IGreen" "Certs are generated!" a2ensite "$SUBDOMAIN.conf" diff --git a/apps/onlyoffice_docker.sh b/apps/onlyoffice_docker.sh index 2a13ba55..d6898629 100644 --- a/apps/onlyoffice_docker.sh +++ b/apps/onlyoffice_docker.sh @@ -232,7 +232,7 @@ then # Generate DHparams cipher if [ ! -f "$DHPARAMS_SUB" ] then - openssl dhparam -dsaparam -out "$DHPARAMS_SUB" 4096 + openssl dhparam -out "$DHPARAMS_SUB" 2048 fi print_text_in_color "$IGreen" "Certs are generated!" a2ensite "$SUBDOMAIN.conf" diff --git a/apps/talk.sh b/apps/talk.sh index e39a3ef9..48c3869f 100644 --- a/apps/talk.sh +++ b/apps/talk.sh @@ -432,7 +432,7 @@ then # Generate DHparams cipher if [ ! -f "$DHPARAMS_SUB" ] then - openssl dhparam -dsaparam -out "$DHPARAMS_SUB" 4096 + openssl dhparam -out "$DHPARAMS_SUB" 2048 fi print_text_in_color "$IGreen" "Certs are generated!" a2ensite "$SUBDOMAIN.conf" diff --git a/apps/tmbitwarden.sh b/apps/tmbitwarden.sh index edd57c35..5b47f943 100644 --- a/apps/tmbitwarden.sh +++ b/apps/tmbitwarden.sh @@ -321,7 +321,7 @@ then # Generate DHparams cipher if [ ! -f "$DHPARAMS_SUB" ] then - openssl dhparam -dsaparam -out "$DHPARAMS_SUB" 4096 + openssl dhparam -out "$DHPARAMS_SUB" 2048 fi print_text_in_color "$IGreen" "Certs are generated!" a2ensite "$SUBDOMAIN.conf" diff --git a/apps/vaultwarden.sh b/apps/vaultwarden.sh index ddfe4c07..c04d11f1 100644 --- a/apps/vaultwarden.sh +++ b/apps/vaultwarden.sh @@ -203,7 +203,7 @@ then # Generate DHparams cipher if [ ! -f "$DHPARAMS_SUB" ] then - openssl dhparam -dsaparam -out "$DHPARAMS_SUB" 4096 + openssl dhparam -out "$DHPARAMS_SUB" 2048 fi print_text_in_color "$IGreen" "Certs are generated!" a2ensite "$SUBDOMAIN.conf" 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 ### 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"