From 78fa47700d39c3f84a5c31e72140472564328aea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Wed, 11 Oct 2017 19:46:35 +0200 Subject: [PATCH] generate ECDSA key on existing installations MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- config/rootfiles/core/115/update.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2