From 4cebd2bdc31c3cde1293bbc948b4769a9259a367 Mon Sep 17 00:00:00 2001 From: Prabuddha Chakraborty Date: Wed, 13 Apr 2016 16:31:49 +0530 Subject: [PATCH] Fix lets encrypt renew issue. Fix #702 --- ee/cli/plugins/site_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index 5af99f7b..342a8db6 100644 --- a/ee/cli/plugins/site_functions.py +++ b/ee/cli/plugins/site_functions.py @@ -1417,7 +1417,7 @@ def renewLetsEncrypt(self, ee_domain_name): Log.info(self, "Renewing SSl cert for https://{0}".format(ee_domain_name)) - ssl = EEShellExec.cmd_exec(self, "./letsencrypt-auto --renew certonly --webroot -w /var/www/{0}/htdocs/ -d {0} -d www.{0} " + ssl = EEShellExec.cmd_exec(self, "./letsencrypt-auto --renew-by-default certonly --webroot -w /var/www/{0}/htdocs/ -d {0} -d www.{0} " .format(ee_domain_name) + "--email {0} --text --agree-tos".format(ee_wp_email)) mail_list = '' @@ -1508,7 +1508,7 @@ def archivedCertificateHandle(self,domain,ee_wp_email): elif check_prompt == "3": Log.info(self,"Please Wait while we renew SSL Certificate for your site.\nIt may take time depending upon network.") - ssl = EEShellExec.cmd_exec(self, "./letsencrypt-auto --renew certonly --webroot -w /var/www/{0}/htdocs/ -d {0} -d www.{0} " + ssl = EEShellExec.cmd_exec(self, "./letsencrypt-auto --renew-by-default certonly --webroot -w /var/www/{0}/htdocs/ -d {0} -d www.{0} " .format(domain) + "--email {0} --text --agree-tos".format(ee_wp_email)) else: