Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
44cadc21
Commit
44cadc21
authored
Aug 07, 2017
by
Marius Burkard
Browse files
Backported MR !622 to stable branch
parent
cb52d1b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/lib/classes/letsencrypt.inc.php
View file @
44cadc21
...
...
@@ -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
);
...
...
Till Brehm
@tbrehm
mentioned in issue
#4755 (closed)
·
Aug 07, 2017
mentioned in issue
#4755 (closed)
mentioned in issue #4755
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment