mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
forgot to catch free_tls_certificates.client.ChallengeFailed
Provisioning could crash if, e.g., the DNS we see is different from the DNS Let's Encrypt sees. see #695, probably fixes it
This commit is contained in:
parent
6fd4cd85ca
commit
1ba44b02d4
@ -6,6 +6,7 @@ In Development
|
|||||||
|
|
||||||
* Roundcube updated to version 1.1.4.
|
* Roundcube updated to version 1.1.4.
|
||||||
* On multi-homed machines, Postfix now binds to the right network interface when sending outbound mail so that SPF checks on the receiving end will pass.
|
* On multi-homed machines, Postfix now binds to the right network interface when sending outbound mail so that SPF checks on the receiving end will pass.
|
||||||
|
* TLS certificate provisioning would crash if DNS propagation was in progress and a challenge failed.
|
||||||
* Backup times were displayed with the wrong time zone.
|
* Backup times were displayed with the wrong time zone.
|
||||||
* On low-usage systems, don't hold backups for quite so long by taking a full backup more often.
|
* On low-usage systems, don't hold backups for quite so long by taking a full backup more often.
|
||||||
* Nightly status checks might fail if any domains had non-ASCII characters.
|
* Nightly status checks might fail if any domains had non-ASCII characters.
|
||||||
|
@ -365,7 +365,7 @@ def provision_certificates(env, agree_to_tos_url=None, logger=None, show_extende
|
|||||||
"message": "Something unexpected went wrong. It looks like your local Let's Encrypt account data is corrupted. There was a problem with the file " + e.account_file_path + ".",
|
"message": "Something unexpected went wrong. It looks like your local Let's Encrypt account data is corrupted. There was a problem with the file " + e.account_file_path + ".",
|
||||||
})
|
})
|
||||||
|
|
||||||
except (client.InvalidDomainName, client.NeedToTakeAction, acme.messages.Error, requests.exceptions.RequestException) as e:
|
except (client.InvalidDomainName, client.NeedToTakeAction, client.ChallengeFailed, acme.messages.Error, requests.exceptions.RequestException) as e:
|
||||||
ret_item.update({
|
ret_item.update({
|
||||||
"result": "error",
|
"result": "error",
|
||||||
"message": "Something unexpected went wrong: " + str(e),
|
"message": "Something unexpected went wrong: " + str(e),
|
||||||
|
Loading…
Reference in New Issue
Block a user