exclude wildcard-domains agains also vor ACMEv2 of LE2

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2018-01-09 17:12:55 +01:00
parent 07a4f045f1
commit 84abb33e54

View File

@@ -57,6 +57,7 @@ $certificates_stmt = Database::query("
dom.`customerid` = cust.`customerid`
AND dom.`letsencrypt` = 1
AND dom.`aliasdomain` IS NULL
AND dom.`iswildcarddomain` = 0
AND (
domssl.`expirationdate` < DATE_ADD(NOW(), INTERVAL 30 DAY)
OR domssl.`expirationdate` IS NULL
@@ -73,6 +74,7 @@ $aliasdomains_stmt = Database::prepare("
WHERE
dom.`aliasdomain` = :id
AND dom.`letsencrypt` = 1
AND dom.`iswildcarddomain` = 0
");
$updcert_stmt = Database::prepare("