From: Peter Müller Date: Wed, 11 Oct 2017 17:46:35 +0000 (+0200) Subject: generate ECDSA key on existing installations X-Git-Tag: v2.19-core115~31 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=78fa47700d39c3f84a5c31e72140472564328aea generate ECDSA key on existing installations This is required since Apache crashes if any of the key/certificate files does not exist. Signed-off-by: Peter Müller Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/115/update.sh b/config/rootfiles/core/115/update.sh index 4b30cd8b6d..941f8df875 100644 --- a/config/rootfiles/core/115/update.sh +++ b/config/rootfiles/core/115/update.sh @@ -35,6 +35,7 @@ done openvpnctrl -k openvpnctrl -kn2n + # Extract files extract_files @@ -48,6 +49,9 @@ ldconfig # Update Language cache /usr/local/bin/update-lang-cache +# generate ECDSA key on existing installations to prevent Apache from crashing +/usr/local/bin/httpscert + # Start services /etc/rc.d/init.d/apache2 restart openvpnctrl -s