Skip to content

Commit 4cebd2b

Browse files
committed
Fix lets encrypt renew issue. Fix #702
1 parent bfc310e commit 4cebd2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ee/cli/plugins/site_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ def renewLetsEncrypt(self, ee_domain_name):
14171417

14181418
Log.info(self, "Renewing SSl cert for https://{0}".format(ee_domain_name))
14191419

1420-
ssl = EEShellExec.cmd_exec(self, "./letsencrypt-auto --renew certonly --webroot -w /var/www/{0}/htdocs/ -d {0} -d www.{0} "
1420+
ssl = EEShellExec.cmd_exec(self, "./letsencrypt-auto --renew-by-default certonly --webroot -w /var/www/{0}/htdocs/ -d {0} -d www.{0} "
14211421
.format(ee_domain_name)
14221422
+ "--email {0} --text --agree-tos".format(ee_wp_email))
14231423
mail_list = ''
@@ -1508,7 +1508,7 @@ def archivedCertificateHandle(self,domain,ee_wp_email):
15081508

15091509
elif check_prompt == "3":
15101510
Log.info(self,"Please Wait while we renew SSL Certificate for your site.\nIt may take time depending upon network.")
1511-
ssl = EEShellExec.cmd_exec(self, "./letsencrypt-auto --renew certonly --webroot -w /var/www/{0}/htdocs/ -d {0} -d www.{0} "
1511+
ssl = EEShellExec.cmd_exec(self, "./letsencrypt-auto --renew-by-default certonly --webroot -w /var/www/{0}/htdocs/ -d {0} -d www.{0} "
15121512
.format(domain)
15131513
+ "--email {0} --text --agree-tos".format(ee_wp_email))
15141514
else:

0 commit comments

Comments
 (0)