mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
Make --renew-by-default apply in exact-duplicate case
This commit is contained in:
@@ -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 "
|
||||||
|
|||||||
Reference in New Issue
Block a user