generate ECDSA key on existing installations
Commit Message
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(+)
@@ -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