Skip to content

Commit 44cadc2

Browse files
author
Marius Burkard
committed
Backported MR !622 to stable branch
1 parent cb52d1b commit 44cadc2

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
@@ -227,7 +227,7 @@ public function request_certificates($data, $server_type = 'apache') {
227227
// check if domains are reachable to avoid letsencrypt verification errors
228228
$le_rnd_file = uniqid('le-') . '.txt';
229229
$le_rnd_hash = md5(uniqid('le-', true));
230-
if(!is_dir('/usr/local/interface/acme/.well-known/acme-challenge/')) {
230+
if(!is_dir('/usr/local/ispconfig/interface/acme/.well-known/acme-challenge/')) {
231231
$app->system->mkdir('/usr/local/ispconfig/interface/acme/.well-known/acme-challenge/', false, 0755, true);
232232
}
233233
file_put_contents('/usr/local/ispconfig/interface/acme/.well-known/acme-challenge/' . $le_rnd_file, $le_rnd_hash);

0 commit comments

Comments
 (0)