From 7eb8f4e95c85f680c1884adfe82c634a02baada1 Mon Sep 17 00:00:00 2001 From: Hj Ahmad Rasyid Hj Ismail Date: Mon, 5 Nov 2018 13:39:10 +0100 Subject: [PATCH] Update update.php to support creating and extending LE SSL certs on ISPConfig non-webservers --- install/update.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install/update.php b/install/update.php index 3361c3c19..616bef6a2 100644 --- a/install/update.php +++ b/install/update.php @@ -524,6 +524,13 @@ if ($inst->install_ispconfig_interface) { } } +// Create SSL certs for non-webserver(s) ? +if(($conf['apache']['installed'] && $conf['apache']['installed']) == false) { + if(strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y')) == 'y') { + $inst->make_ispconfig_ssl_cert(); + } +} + $inst->install_ispconfig(); // Cleanup -- GitLab