Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig 3
Commits
2fc23db2
Commit
2fc23db2
authored
Sep 18, 2017
by
Marius Burkard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- limit domains for LE cert to 100, fixes #4789
parent
39f51a4c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
server/lib/classes/letsencrypt.inc.php
server/lib/classes/letsencrypt.inc.php
+6
-0
No files found.
server/lib/classes/letsencrypt.inc.php
View file @
2fc23db2
...
...
@@ -250,6 +250,12 @@ class letsencrypt {
unset
(
$le_domains
);
@
unlink
(
'/usr/local/ispconfig/interface/acme/.well-known/acme-challenge/'
.
$le_rnd_file
);
$le_domain_count
=
count
(
$temp_domains
);
if
(
$le_domain_count
>
100
)
{
$temp_domains
=
array_splice
(
$temp_domains
,
0
,
100
);
$app
->
log
(
"There were "
.
$le_domain_count
.
" domains in the domain list. LE only supports 100, so we strip the rest."
,
LOGLEVEL_WARN
);
}
// generate cli format
foreach
(
$temp_domains
as
$temp_domain
)
{
$cli_domain_arg
.
=
(
string
)
" --domains "
.
$temp_domain
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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