Skip to content

Commit e2873fd

Browse files
author
Till Brehm
committed
Merge branch 'patch-3' into 'develop'
Missing -d $hostname See merge request ispconfig/ispconfig3!1171
2 parents ab5306f + 3362854 commit e2873fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2841,9 +2841,9 @@ public function make_ispconfig_ssl_cert() {
28412841

28422842
// If this is a webserver
28432843
if($conf['nginx']['installed'] == true)
2844-
exec("$le_client $certonly $acme_version --nginx --email postmaster@$hostname $renew_hook");
2844+
exec("$le_client $certonly $acme_version --nginx --email postmaster@$hostname -d $hostname $renew_hook");
28452845
elseif($conf['apache']['installed'] == true)
2846-
exec("$le_client $certonly $acme_version --apache --email postmaster@$hostname $renew_hook");
2846+
exec("$le_client $certonly $acme_version --apache --email postmaster@$hostname -d $hostname $renew_hook");
28472847
// Else, it is not webserver, so we use standalone
28482848
else
28492849
exec("$le_client $certonly $acme_version --standalone --email postmaster@$hostname -d $hostname $hook");

0 commit comments

Comments
 (0)