generate ECDSA key on existing installations

Message ID 20171011194635.66f9b18a.peter.mueller@link38.eu
State Accepted
Commit 78fa47700d39c3f84a5c31e72140472564328aea
Headers
Series generate ECDSA key on existing installations |

Commit Message

Peter Müller Oct. 12, 2017, 4:46 a.m. UTC
  This is required since Apache crashes if any of the key/certificate files
does not exist.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
---
 config/rootfiles/core/115/update.sh | 4 ++++
 1 file changed, 4 insertions(+)
  

Patch

diff --git a/config/rootfiles/core/115/update.sh b/config/rootfiles/core/115/update.sh
index 4b30cd8b6..941f8df87 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