From 1e97bee82294c2a63ff2c17ad9206aea99fe9061 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 29 Jan 2024 11:17:12 -0600 Subject: https: T6000: fix error in migration of path https certbot (cherry picked from commit f057075409b024a18ea8a39b5e128fcde988c00e) --- src/migration-scripts/https/5-to-6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/migration-scripts/https/5-to-6 b/src/migration-scripts/https/5-to-6 index 6d6efd32c..0090adccb 100755 --- a/src/migration-scripts/https/5-to-6 +++ b/src/migration-scripts/https/5-to-6 @@ -43,11 +43,11 @@ if not config.exists(base): # Nothing to do sys.exit(0) -if config.exists(base + ['certificates']): +if config.exists(base + ['certificates', 'certbot']): # both domain-name and email must be set on CLI - ensured by previous verify() domain_names = config.return_values(base + ['certificates', 'certbot', 'domain-name']) email = config.return_value(base + ['certificates', 'certbot', 'email']) - config.delete(base + ['certificates']) + config.delete(base + ['certificates', 'certbot']) # Set default certname based on domain-name cert_name = 'https-' + domain_names[0].split('.')[0] -- cgit v1.2.3