Skip to content

Commit f7a2aaa

Browse files
author
Marius Burkard
committed
Merge branch '5969-letsencrypt-certbot-does-not-create-webroot-map-anymore-for-new-domains' into 'develop'
Resolve "Letsencrypt (certbot) does not create webroot map anymore for new domains" Closes #5969 See merge request ispconfig/ispconfig3!1360
2 parents 1598b59 + 3718e6b commit f7a2aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/letsencrypt.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function get_certbot_command($domains) {
162162
$webroot_args = "$cmd --webroot-path /usr/local/ispconfig/interface/acme";
163163
}
164164

165-
$cmd = $letsencrypt . " certonly -n --text --agree-tos --expand --authenticator webroot --server $acme_version --rsa-key-size 4096 --email postmaster@$domain $cmd --webroot-path /usr/local/ispconfig/interface/acme";
165+
$cmd = $letsencrypt . " certonly -n --text --agree-tos --expand --authenticator webroot --server $acme_version --rsa-key-size 4096 --email postmaster@$domain $webroot_args";
166166

167167
return $cmd;
168168
}

0 commit comments

Comments
 (0)