fix error that wildcard-domains and lets-encrypt are not possible when using ACMEv2; fixes #674
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -560,7 +560,7 @@ class SubDomains extends \Froxlor\Api\ApiCommand implements \Froxlor\Api\Resourc
|
|||||||
}
|
}
|
||||||
// if using acme-v2 we cannot issue wildcard-certificates
|
// if using acme-v2 we cannot issue wildcard-certificates
|
||||||
// because they currently only support the dns-01 challenge
|
// because they currently only support the dns-01 challenge
|
||||||
if ($iswildcarddomain == '0' && $letsencrypt == '1' && Settings::Get('system.leapiversion') == '2') {
|
if ($iswildcarddomain == '1' && $letsencrypt == '1' && Settings::Get('system.leapiversion') == '2') {
|
||||||
\Froxlor\UI\Response::standard_error('nowildcardwithletsencryptv2');
|
\Froxlor\UI\Response::standard_error('nowildcardwithletsencryptv2');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user