From 1fad30a43a33b64a063f0b4d1ed3992b600a8abb Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Wed, 2 Mar 2016 16:21:29 +0100 Subject: [PATCH] check for wildcard-serveralias also when a customer edits the domain Signed-off-by: Michael Kaufmann (d00p) --- customer_domains.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/customer_domains.php b/customer_domains.php index c73bcd21..c115318a 100644 --- a/customer_domains.php +++ b/customer_domains.php @@ -615,6 +615,11 @@ if ($page == 'overview') { standard_error('letsencryptdoesnotworkwithaliasdomains'); } + // We can't enable let's encrypt for wildcard - domains + if ($iswildcarddomain == '1' && $letsencrypt == '1') { + standard_error('nowildcardwithletsencrypt'); + } + // Temporarily deactivate ssl_redirect until Let's Encrypt certificate was generated if ($ssl_redirect > 0 && $letsencrypt == 1 && $result['letsencrypt'] != $letsencrypt) { $ssl_redirect = 2;