Fix ValueError from acme cert issuance.

pull/240/head
Chris McCormick 2022-04-26 14:35:41 +08:00
rodzic 76f6d90983
commit 0b4eba50d7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -736,7 +736,7 @@ def spawn_app(app, deltas={}):
if not exists(key) or not exists(issuefile):
echo("-----> getting letsencrypt certificate")
certlist = " ".join(["-d {}".format(d) for d in domains])
call('{acme:s}/acme.sh --issue {certlist:s} -w {www:s} --server {root_ca:s}}'.format(**locals()), shell=True)
call('{acme:s}/acme.sh --issue {certlist:s} -w {www:s} --server {root_ca:s}'.format(**locals()), shell=True)
call('{acme:s}/acme.sh --install-cert {certlist:s} --key-file {key:s} --fullchain-file {crt:s}'.format(
**locals()), shell=True)
if exists(join(ACME_ROOT, domain)) and not exists(join(ACME_WWW, app)):