[BUG] Problem with punycode domains
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:
- open "TLS/SSL certificate"
- scroll down and open the "open ACME Tool"
- insert mail and click save
- activate the "auto renewal" slider
- scroll down, insert domain (pöp.eu), choose "let's encrypt" as CA, tick on "DNS challenge"
- choose "Infomaniak" as DNS Provider and insert "https://api.infomaniak.com" as API endpoint and insert a working API key.
- 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.
I will help you to tag the ACME module maintainer @yeungalan