Browse Source

removed --renew-by-default parameter

develop
Prabuddha Chakraborty 9 years ago
parent
commit
92ccc94df6
  1. 4
      ee/cli/plugins/site_functions.py

4
ee/cli/plugins/site_functions.py

@ -1342,7 +1342,7 @@ def archivedCertificateHandle(self,domain,ee_wp_email):
Log.warn(self,"You already have an existing certificate for the domain requested.\n" Log.warn(self,"You already have an existing certificate for the domain requested.\n"
"(ref: /etc/letsencrypt/renewal/{0}.conf)".format(domain) + "(ref: /etc/letsencrypt/renewal/{0}.conf)".format(domain) +
"\nPlease select an option from below?" "\nPlease select an option from below?"
"\n\t1: Reinstall existing certificate [RECOMMENDED]" "\n\t1: Reinstall existing certificate"
"\n\t2: Keep the existing certificate for now" "\n\t2: Keep the existing certificate for now"
"\n\t3: Renew & replace the certificate (limit ~5 per 7 days)" "\n\t3: Renew & replace the certificate (limit ~5 per 7 days)"
"") "")
@ -1353,7 +1353,7 @@ def archivedCertificateHandle(self,domain,ee_wp_email):
Log.info(self,"Please Wait while we reinstall SSL Certificate for your site.\nIt may take time depending upon network.") Log.info(self,"Please Wait while we reinstall SSL Certificate for your site.\nIt may take time depending upon network.")
ssl = EEShellExec.cmd_exec(self, "./letsencrypt-auto certonly --reinstall --webroot -w /var/www/{0}/htdocs/ -d {0} -d www.{0} " ssl = EEShellExec.cmd_exec(self, "./letsencrypt-auto certonly --reinstall --webroot -w /var/www/{0}/htdocs/ -d {0} -d www.{0} "
.format(domain) .format(domain)
+ "--email {0} --text --agree-tos --renew-by-default".format(ee_wp_email)) + "--email {0} --text --agree-tos".format(ee_wp_email))
elif check_prompt == "2" : elif check_prompt == "2" :
Log.info(self,"Using Existing Certificate files") Log.info(self,"Using Existing Certificate files")
if not (os.path.isfile("/etc/letsencrypt/live/{0}/fullchain.pem".format(domain)) or if not (os.path.isfile("/etc/letsencrypt/live/{0}/fullchain.pem".format(domain)) or

Loading…
Cancel
Save