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:
Michael Kaufmann
2019-04-25 14:20:02 +02:00
parent 974b151d02
commit f93dc5643f

View File

@@ -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');
} }