Make --renew-by-default apply in exact-duplicate case

This commit is contained in:
Seth Schoen
2015-12-10 15:49:33 -08:00
parent 748a7fe2bc
commit 95d0113098
+2
View File
@@ -254,6 +254,8 @@ def _treat_as_renewal(config, domains):
# cert (eventually maybe preserving the privkey), while # cert (eventually maybe preserving the privkey), while
# newcert creates a new lineage. And reinstall doesn't cause # newcert creates a new lineage. And reinstall doesn't cause
# a new issuance at all. # a new issuance at all.
if config.renew_by_default:
return "renew", ident_names_cert
question = ( question = (
"You have an existing certificate that contains exactly the " "You have an existing certificate that contains exactly the "
"same domains you requested (ref: {0}){br}{br}Note that the " "same domains you requested (ref: {0}){br}{br}Note that the "