File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3051,6 +3051,8 @@ public function make_ispconfig_ssl_cert() {
30513051 $ crt_issuer = exec ("openssl x509 -in " .escapeshellarg ($ ssl_crt_file )." -inform PEM -noout -issuer " );
30523052 }
30533053
3054+ $ issued_successfully = false ;
3055+
30543056 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 ) {
30553057
30563058 // This script is needed earlier to check and open http port 80 or standalone might fail
@@ -3149,8 +3151,6 @@ public function make_ispconfig_ssl_cert() {
31493151 }
31503152 }
31513153
3152- $ issued_successfully = false ;
3153-
31543154 // Backup existing ispserver ssl files
31553155 //
31563156 // We may find valid or broken symlinks or actual files here.
You can’t perform that action at this time.
0 commit comments