-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Note - previously the error was returned as: Setting up initial SSL certificate .. .. domain validation failed : HASH(0x55e6034cb970)
- Loading branch information
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8551,6 +8551,13 @@ sub create_initial_letsencrypt_cert | |
my @errs = &validate_letsencrypt_config($d, $vcheck); | ||
if (@errs) { | ||
if ($showerrors) { | ||
my @err; | ||
foreach my $e (@errs) { | ||
next if (!$e->{'desc'} || !$e->{'error'}); | ||
This comment has been minimized.
Sorry, something went wrong. |
||
push(@err, "$e->{'desc'} : ". | ||
"@{[&html_strip($e->{'error'})]}"); | ||
This comment has been minimized.
Sorry, something went wrong.
jcameron
Collaborator
|
||
} | ||
@errs = @err if (@err); | ||
This comment has been minimized.
Sorry, something went wrong.
jcameron
Collaborator
|
||
&$second_print(&text('letsencrypt_evalid', | ||
&html_escape(join(", ", @errs)))); | ||
} | ||
|
1 comment
on commit d673898
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ref.: Discussed here #841 (comment).
There's no need to check if
desc
orerror
are set, because they will be in all elements returned byvalidate_letsencrypt_config