From a2ab1ec455a0a71c0651e30b6756824b09812976 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 26 Feb 2024 17:11:03 +0100 Subject: [InstallHttps] Custom dhparam is deprecated --- scripts/install-https | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scripts/install-https b/scripts/install-https index 143638e..0afeb58 100755 --- a/scripts/install-https +++ b/scripts/install-https @@ -74,16 +74,6 @@ post_setup_hook () { rm -f -- "$PUB_CERT_FILE" openssl x509 -outform pem -in "$CERT_KEY_FILE" -out "$PUB_CERT_FILE" - local DHPARAM="/etc/lighttpd/dhparam.pem" - if ! [ -s "$DHPARAM" ]; then - echo "Generating DH parameters (this takes a while)..." - if openssl dhparam -out "$DHPARAM" 2048 >/dev/null 2>&1; then - echo "done" - else - echo "failed" - rm -f -- "$DHPARAM" - fi - fi } setup_redirect () -- cgit v1.2.3-55-g7522