diff options
-rwxr-xr-x | scripts/install-https | 10 |
1 files changed, 0 insertions, 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 () |