1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00

Update ssl_certificates.py

This commit is contained in:
Romain Fallet 2023-04-13 13:14:47 +02:00
parent 88260bb610
commit 6a87c76198

View File

@ -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