From 3362854de9a8b5f26b69b408af511fec4bdf525f Mon Sep 17 00:00:00 2001 From: Hj Ahmad Rasyid Hj Ismail <ahrasis@gmail.com> Date: Tue, 15 Sep 2020 09:06:05 +0200 Subject: [PATCH] Update installer_base.lib.php to add missing -d $hostname for both apache and nginx lines for creating LE SSL certs. --- install/lib/installer_base.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index aea0a6469e..e262f31fa5 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -2841,9 +2841,9 @@ class installer_base { // If this is a webserver if($conf['nginx']['installed'] == true) - exec("$le_client $certonly $acme_version --nginx --email postmaster@$hostname $renew_hook"); + exec("$le_client $certonly $acme_version --nginx --email postmaster@$hostname -d $hostname $renew_hook"); elseif($conf['apache']['installed'] == true) - exec("$le_client $certonly $acme_version --apache --email postmaster@$hostname $renew_hook"); + exec("$le_client $certonly $acme_version --apache --email postmaster@$hostname -d $hostname $renew_hook"); // Else, it is not webserver, so we use standalone else exec("$le_client $certonly $acme_version --standalone --email postmaster@$hostname -d $hostname $hook"); -- GitLab