From 2482e0e3b27915ff0f877d1b20cbcf369bb2c1e2 Mon Sep 17 00:00:00 2001 From: "Dr. Yves Kreis" Date: Fri, 8 Sep 2023 22:02:08 +0300 Subject: [PATCH] Undefined variable $issued_successfully --- install/lib/installer_base.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index 72f226ed6a..386c8a6abd 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -3047,6 +3047,8 @@ class installer_base extends stdClass { $crt_issuer = exec("openssl x509 -in ".escapeshellarg($ssl_crt_file)." -inform PEM -noout -issuer"); } + $issued_successfully = false; + if ((@file_exists($ssl_crt_file) && ($crt_subject == $crt_issuer)) || (!@is_dir($acme_cert_dir) || !@file_exists($check_acme_file) || !@file_exists($ssl_crt_file) || md5_file($check_acme_file) != md5_file($ssl_crt_file)) && $ip_address_match == true) { // This script is needed earlier to check and open http port 80 or standalone might fail @@ -3145,8 +3147,6 @@ class installer_base extends stdClass { } } - $issued_successfully = false; - // Backup existing ispserver ssl files // // We may find valid or broken symlinks or actual files here. -- GitLab