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 @@ -3047,6 +3047,8 @@ public function make_ispconfig_ssl_cert() {
30473047 $ crt_issuer = exec ("openssl x509 -in " .escapeshellarg ($ ssl_crt_file )." -inform PEM -noout -issuer " );
30483048 }
30493049
3050+ $ issued_successfully = false ;
3051+
30503052 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 ) {
30513053
30523054 // This script is needed earlier to check and open http port 80 or standalone might fail
@@ -3145,8 +3147,6 @@ public function make_ispconfig_ssl_cert() {
31453147 }
31463148 }
31473149
3148- $ issued_successfully = false ;
3149-
31503150 // Backup existing ispserver ssl files
31513151 //
31523152 // We may find valid or broken symlinks or actual files here.
You can’t perform that action at this time.
0 commit comments