mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
letencrypt now supports idna, remove the check/block
This commit is contained in:
parent
416dbebf45
commit
add985ce5d
@ -4,7 +4,8 @@ CHANGELOG
|
||||
In Development
|
||||
--------------
|
||||
|
||||
ownCloud is replaced with Nextcloud 10.0.4.
|
||||
* ownCloud is replaced with Nextcloud 10.0.4.
|
||||
* Let's Encrypt now supports internationalized domains so the block on provisioning those domains through Let's Encrypt is now removed.
|
||||
|
||||
v0.22 (April 2, 2017)
|
||||
---------------------
|
||||
|
@ -214,12 +214,6 @@ def get_certificates_to_provision(env, show_extended_problems=True, force_domain
|
||||
# Filter out domains that we can't provision a certificate for.
|
||||
def can_provision_for_domain(domain):
|
||||
from status_checks import normalize_ip
|
||||
# Let's Encrypt doesn't yet support IDNA domains.
|
||||
# We store domains in IDNA (ASCII). To see if this domain is IDNA,
|
||||
# we'll see if its IDNA-decoded form is different.
|
||||
if idna.decode(domain.encode("ascii")) != domain:
|
||||
problems[domain] = "Let's Encrypt does not yet support provisioning certificates for internationalized domains."
|
||||
return False
|
||||
|
||||
# Does the domain resolve to this machine in public DNS? If not,
|
||||
# we can't do domain control validation. For IPv6 is configured,
|
||||
|
Loading…
Reference in New Issue
Block a user