acme.sh icon indicating copy to clipboard operation
acme.sh copied to clipboard

Report bug to infomaniak.com dns api

Open reneluria opened this issue 4 years ago • 4 comments

This is the place to report bugs in the infomaniak.com DNS API.

If you experience a bug, please report it in this issue.

Thanks!

reneluria avatar Sep 21 '20 06:09 reneluria

Hello, First of all, thank you for implementing the Infomaniak API in ACME!

I have a problem with a domain name with an accent. I wonder if the problem comes from the Infomaniak API or the script. I have tested for several days without finding a solution. By changing nameservers and script it worked (Cloudflare). I suspect that the conversion punny-code / idn is not done.

When I make a call to the API with the domain name in punny-code

{
    "result": "success",
    "data": []
}

When I make a call to the api with the domain name in IDN

{
    "result": "success",
    "data": [
        {
            "id": [REDACTED],
            "account_id": [REDACTED],
            "service_id": 14,
            "service_name": "domain",
            "customer_name": "[REDACTED]",
            "internal_name": null,
            "created_at": [REDACTED],
            "expired_at": [REDACTED],
            "version": 1,
            "maintenance": false,
            "locked": false,
            "operation_in_progress": false,
            "tags": [],
            "unique_id": [REDACTED],
            "description": "",
            "is_free": false,
            "is_zero_price": false,
            "is_trial": false,
            "is_in_app_subscription": false,
            "is_part_of_ksuite": false,
            "rights": {
                "technical": true
            }
        }
    ]
}

I know this is an edgecase, so if there is no solution, I will continue to use Cloudflare NS. (What I would like to avoid)

8520456963 avatar Jun 08 '22 12:06 8520456963

Hello

I have a problem with a domain name with an accent. I wonder if the problem comes from the Infomaniak API or the script. I have tested for several days without finding a solution. By changing nameservers and script it worked (Cloudflare). I suspect that the conversion punny-code / idn is not done.

If you try to issue the certificate by using the accented domain it works (but may leave some traces of the acme challenge du to a small issue), don't convert to punny-code first.

reneluria avatar Jun 22 '22 09:06 reneluria

Hello,

This is just to point out that it doesn't work under Proxmox 6.x, 7.x and 8.x. An example with a DNS Challenge:

The validation for [REDACTED] is pending!
[Tue Sep 26 11:56:27 CEST 2023] Infomaniak DNS API
[Tue Sep 26 11:56:36 CEST 2023] cannot find zone to modify
[Tue Sep 26 11:56:36 CEST 2023] Error add txt for domain:_acme-challenge.[REDACTED]
TASK ERROR: command 'setpriv --reuid nobody --regid nogroup --clear-groups --reset-env -- /bin/bash /usr/share/proxmox-acme/proxmox-acme setup infomaniak [REDACTED]' failed: exit code 1

But it does work with Debian 11.x,12.x and Ubuntu too :)

You can reproduce it with a fresh install of Proxmox with any domain It doesn't happen with other dns provider

Thanks !

anolek avatar Sep 26 '23 11:09 anolek

Hi, I get an error when I try to create my SSL certificates via the infomaniak API.

After I run the acme.sh command, the following error message appears:

[Mon Dec 18 08:27:02 PM CET 2023] Processing, The CA is processing your order, please just wait. (1/30)
[Mon Dec 18 08:27:06 PM CET 2023] Success
[Mon Dec 18 08:27:06 PM CET 2023] Verify finished, start to sign.
[Mon Dec 18 08:27:06 PM CET 2023] Lets finalize the order.
[Mon Dec 18 08:27:06 PM CET 2023] Le_OrderFinalize
[Mon Dec 18 08:27:06 PM CET 2023] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 3
[Mon Dec 18 08:27:06 PM CET 2023] Sign failed, finalize code is not 200.
[Mon Dec 18 08:27:06 PM CET 2023]
[Mon Dec 18 08:27:06 PM CET 2023] Please add '--debug' or '--log' to check more details.
[Mon Dec 18 08:27:06 PM CET 2023] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh

Searching the specified website results in the following error message:

CURLE_URL_MALFORMAT (3)

The URL was not properly formatted. 

Hope this halps to find the error.

My command was the following:

acme.sh --issue --dns dns_infomaniak -d *.mydomain.tld

Greetings and thank you

MaObOriginal avatar Dec 18 '23 20:12 MaObOriginal