From 8b2395d0f9587b83be24e72c732cf2107af137d2 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Fri, 30 Aug 2019 07:30:42 +0200 Subject: [PATCH] Add quote for acme.sh --- wo/cli/plugins/site_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wo/cli/plugins/site_functions.py b/wo/cli/plugins/site_functions.py index a0be834..41c2c0b 100644 --- a/wo/cli/plugins/site_functions.py +++ b/wo/cli/plugins/site_functions.py @@ -1369,7 +1369,7 @@ def setupLetsEncrypt(self, wo_domain_name, subdomain=False, wildcard=False, self, "Validation : DNS mode with {0}".format(wo_acme_dns)) else: acme_mode = "-w /var/www/html" - validation_mode = "Webroot challenge" + validation_mode = "Subdomain Webroot challenge" Log.debug(self, "Validation : Webroot mode") if subdomain: Log.info(self, "Issuing subdomain SSL cert with acme.sh") @@ -1386,7 +1386,7 @@ def setupLetsEncrypt(self, wo_domain_name, subdomain=False, wildcard=False, Log.info(self, "Validation mode : {0}".format(validation_mode)) ssl = WOShellExec.cmd_exec(self, "{0} ".format(wo_acme_exec) + "--issue " - "-d {0} -d *.{0} --dns {1} " + "-d {0} -d '*.{0}' --dns {1} " "-k {2} -f" .format(wo_domain_name, wo_acme_dns,