From 6a87c7619832f50e8e9014838edc7bdcb8166ade Mon Sep 17 00:00:00 2001 From: Romain Fallet Date: Thu, 13 Apr 2023 13:14:47 +0200 Subject: [PATCH] Update ssl_certificates.py --- management/ssl_certificates.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/management/ssl_certificates.py b/management/ssl_certificates.py index 19f0266a..a2ac3e0c 100755 --- a/management/ssl_certificates.py +++ b/management/ssl_certificates.py @@ -342,8 +342,9 @@ def provision_certificates(env, limit_domains): "certbot", "certonly", #"-v", # just enough to see ACME errors - "--non-interactive", # will fail if user hasn't registered during Mail-in-a-Box setup - + "--non-interactive", + "--agree-tos", # needed because Mail-in-a-Box does not create (and register) + "--email", "administrator@" + domain_list[0], # administrator user in setup anymore "-d", ",".join(domain_list), # first will be main domain "--csr", csr_file.name, # use our private key; unfortunately this doesn't work with auto-renew so we need to save cert manually