2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

check if dns mutitenancy is active

This commit is contained in:
Saurabh 2018-06-29 13:37:03 +05:30
parent 4aaae8b791
commit ab6cc5164f

View File

@ -121,6 +121,10 @@ def renew_certs():
def setup_wildcard_ssl(domain, email, bench_path):
get_certbot()
if not get_config(bench_path).get("dns_multitenant"):
print("You cannot setup SSL without DNS Multitenancy")
return
email_param = ''
if email:
email_param = '--email {0}'.format(email)