Skip to content
Snippets Groups Projects
Commit 44cadc21 authored by Marius Burkard's avatar Marius Burkard
Browse files

Backported MR !622 to stable branch

parent cb52d1b1
No related branches found
No related tags found
No related merge requests found
......@@ -227,7 +227,7 @@ class letsencrypt {
// check if domains are reachable to avoid letsencrypt verification errors
$le_rnd_file = uniqid('le-') . '.txt';
$le_rnd_hash = md5(uniqid('le-', true));
if(!is_dir('/usr/local/interface/acme/.well-known/acme-challenge/')) {
if(!is_dir('/usr/local/ispconfig/interface/acme/.well-known/acme-challenge/')) {
$app->system->mkdir('/usr/local/ispconfig/interface/acme/.well-known/acme-challenge/', false, 0755, true);
}
file_put_contents('/usr/local/ispconfig/interface/acme/.well-known/acme-challenge/' . $le_rnd_file, $le_rnd_hash);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment