File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2427,6 +2427,8 @@ public function make_ispconfig_ssl_cert() {
24272427 else
24282428 exec ("certbot certonly --authenticator standalone -d $ hostname " );
24292429 }
2430+ // TODO: To implement webroot instead of standalone via
2431+ // probably ispconfig vhost to provide for port 80 && 443
24302432
24312433 // Define and check ISPConfig SSL folder
24322434 $ install_dir = $ conf ['ispconfig_install_dir ' ];
@@ -2453,9 +2455,8 @@ public function make_ispconfig_ssl_cert() {
24532455
24542456 // Build ispserver.pem file and chmod it
24552457 exec ("cat $ ssl_key_file $ ssl_crt_file > $ ssl_pem_file; chmod 600 $ ssl_pem_file " );
2456- }
2457-
2458- if (!@is_dir ($ le_live_dir ) && ($ svr_ip != $ dns_ip )) {
2458+
2459+ } else {
24592460
24602461 // We can still use the old self-signed method
24612462 $ ssl_pw = substr (md5 (mt_rand ()), 0 , 6 );
You can’t perform that action at this time.
0 commit comments