summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-02-26 17:11:03 +0100
committerSimon Rettberg2024-02-26 17:11:03 +0100
commita2ab1ec455a0a71c0651e30b6756824b09812976 (patch)
tree2901eecea3b3fdcb8906d07e6b45973e3bc303da
parent[InstallHttps] Include chain in main pem for lighttpd (diff)
downloadtmlite-bwlp-a2ab1ec455a0a71c0651e30b6756824b09812976.tar.gz
tmlite-bwlp-a2ab1ec455a0a71c0651e30b6756824b09812976.tar.xz
tmlite-bwlp-a2ab1ec455a0a71c0651e30b6756824b09812976.zip
[InstallHttps] Custom dhparam is deprecated
-rwxr-xr-xscripts/install-https10
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 ()