Skip to content

Commit 3362854

Browse files
committed
Update installer_base.lib.php to add missing -d $hostname for both apache and nginx lines for creating LE SSL certs.
1 parent ab5306f commit 3362854

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)