From 51f38c028989b42f2f0e456ff5ec0ea2afc66c74 Mon Sep 17 00:00:00 2001 From: Saurabh Date: Fri, 29 Jun 2018 14:35:28 +0530 Subject: [PATCH] fix wildcard char --- bench/config/lets_encrypt.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bench/config/lets_encrypt.py b/bench/config/lets_encrypt.py index 0cbd4697..3cdfef71 100755 --- a/bench/config/lets_encrypt.py +++ b/bench/config/lets_encrypt.py @@ -124,16 +124,13 @@ def setup_wildcard_ssl(domain, email, bench_path): if domain.split('.')[0] != '*': domain = '*.{0}'.format(domain) return domain - - domain = _get_domain_name(domain) - print("domain", domain) - return if not get_config(bench_path).get("dns_multitenant"): print("You cannot setup SSL without DNS Multitenancy") return get_certbot() + domain = _get_domain_name(domain) email_param = '' if email: