zoraxy icon indicating copy to clipboard operation
zoraxy copied to clipboard

[BUG] Problem with punycode domains

Open oneil1838 opened this issue 1 year ago • 1 comments

Describe the bug If I try to use the ACME client to generate an cert for my punycode domain (domain with special chars like ö,ü,ä ...) I receive the error in the log file:

[xn--pp-fka.eu] [xn--pp-fka.eu] acme: error presenting token: infomaniak: could not get domain "_acme-challenge.xn--pp-fka.eu.": domain not found eu

To Reproduce Steps to reproduce the behavior:

  1. open "TLS/SSL certificate"
  2. scroll down and open the "open ACME Tool"
  3. insert mail and click save
  4. activate the "auto renewal" slider
  5. scroll down, insert domain (pöp.eu), choose "let's encrypt" as CA, tick on "DNS challenge"
  6. choose "Infomaniak" as DNS Provider and insert "https://api.infomaniak.com" as API endpoint and insert a working API key.
  7. click on "get certificate" and see error.

Expected behavior Receiving a working cert.

Browser (if it is a bug appears on the UI section of the system):

  • OS: Ubuntu 24.04.1 LS
  • Browser: Firefox
  • Version: 133.0.3 (64-Bit)

Host Environment (please complete the following information):

  • Arch: AMD64
  • Device: CT on Proxmox with Docker
  • OS: Ubuntu
  • Version: 24.04 LTS
  • Docker Version: 27.4.1, build b9d17ea

Additional context It looks like after translating the punycode domain a dot is added at the end which causes this problem.

oneil1838 avatar Jan 03 '25 07:01 oneil1838

I will help you to tag the ACME module maintainer @yeungalan

tobychui avatar Jan 03 '25 11:01 tobychui