Apply for SSL,report errors:%smySSLclient.Certificate.Obtain error:error: one or more domains had a problem:acme: error presenting token: no subdomain because the domain and the zone are identical
Hi @s1007149053,
This looks like an error from Traefik. According to this recent bug report, it might potentially be a bug that was introduced in a newer version of Traefik:
I would suggest posting in that issue and/or in the Traefik community forum
The reason for my suggestion is that this appears to be a Traefik-specific error, and I don't believe any Traefik developers are currently participating on this forum.
Sorry, the underlying error seems to come from Lego and might not be specific to Traefik! (It's just that the only reference I could find to someone else getting this message was that report from a Traefik user.)
This error message is actually generated by the Lego client under certain circumstances:
I wonder if something else was changed in Lego (or in a Lego DNS API integration) which makes this error more likely to be triggered when it wouldn't have been triggered in older Lego versions.
So what should I do? I'm not a professional programmer, could you please give me a solution.
I have just opened a discussion at
If you have a GitHub account, you could add more details in that discussion about your environment and what you were doing when you got this error. Otherwise, if you provide those details here, I can add them to the discussion there.
2023-04-10 11:59:48 | time=2023-04-10T11:59:48+08:00 level=info msg=CADirURL:https://acme-v02.api.letsencrypt.org/directory |
---|---|
2023-04-10 11:59:49 | time=2023-04-10T11:59:49+08:00 level=info msg=[INFO] acme: Registering account for 1007149053@qq.com |
2023-04-10 11:59:50 | time=2023-04-10T11:59:50+08:00 level=info msg=[INFO] [panghui.life, *.panghui.life] acme: Obtaining bundled SAN certificate |
2023-04-10 11:59:51 | time=2023-04-10T11:59:51+08:00 level=info msg=[INFO] [*.panghui.life] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/218167292207 |
2023-04-10 11:59:51 | time=2023-04-10T11:59:51+08:00 level=info msg=[INFO] [panghui.life] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/218167292217 |
2023-04-10 11:59:51 | time=2023-04-10T11:59:51+08:00 level=info msg=[INFO] [*.panghui.life] acme: use dns-01 solver |
2023-04-10 11:59:51 | time=2023-04-10T11:59:51+08:00 level=info msg=[INFO] [panghui.life] acme: Could not find solver for: tls-alpn-01 |
2023-04-10 11:59:51 | time=2023-04-10T11:59:51+08:00 level=info msg=[INFO] [panghui.life] acme: Could not find solver for: http-01 |
2023-04-10 11:59:51 | time=2023-04-10T11:59:51+08:00 level=info msg=[INFO] [panghui.life] acme: use dns-01 solver |
2023-04-10 11:59:51 | time=2023-04-10T11:59:51+08:00 level=info msg=[INFO] [*.panghui.life] acme: Preparing to solve DNS-01 |
2023-04-10 11:59:51 | time=2023-04-10T11:59:51+08:00 level=info msg=[INFO] Found CNAME entry for _acme-challenge.panghui.life.: \panghui.life.| |
2023-04-10 11:59:51 | time=2023-04-10T11:59:51+08:00 level=info msg=[INFO] [panghui.life] acme: Preparing to solve DNS-01 |
2023-04-10 11:59:51 | time=2023-04-10T11:59:51+08:00 level=info msg=[INFO] Found CNAME entry for _acme-challenge.panghui.life.: \panghui.life.| |
2023-04-10 11:59:51 | time=2023-04-10T11:59:51+08:00 level=info msg=[INFO] [*.panghui.life] acme: Cleaning DNS-01 challenge |
2023-04-10 11:59:51 | time=2023-04-10T11:59:51+08:00 level=info msg=[INFO] Found CNAME entry for _acme-challenge.panghui.life.: \panghui.life.| |
2023-04-10 11:59:52 | time=2023-04-10T11:59:52+08:00 level=info msg=[WARN] [*.panghui.life] acme: cleaning up failed: alicloud: no subdomain because the domain and the zone are identical: panghui.life. |
2023-04-10 11:59:52 | time=2023-04-10T11:59:52+08:00 level=info msg=[INFO] [panghui.life] acme: Cleaning DNS-01 challenge |
2023-04-10 11:59:52 | time=2023-04-10T11:59:52+08:00 level=info msg=[INFO] Found CNAME entry for _acme-challenge.panghui.life.: \panghui.life.| |
2023-04-10 11:59:52 | time=2023-04-10T11:59:52+08:00 level=info msg=[WARN] [panghui.life] acme: cleaning up failed: alicloud: no subdomain because the domain and the zone are identical: panghui.life. |
I don't know if these can help you.
A little bit, thanks! Can you also indicate which web server application and hosting environment you're using, and how you administer your web site?
Sorry, I don't quite understand what that software is; how are you using it? And how and where is your web site hosted?
My small server is unraid,This application runs on Docker.I manage security certificates through it.Alibaba provides DNS services.
Thanks, and can you describe what you did in order to request the certificate?
I filled in Alibaba's ID and the program helped me with everything
Where did you do that? In a web interface? For Unraid, or for something else?
For Unraid
OK, I passed that information along to the Lego developers. We'll see if they can identify the source of the problem.
You might also find it useful to post over at the Unraid forum:
The cause of the problem has been identified. It is that the secondary domain name in the DNS supplier directly uses the IP of the primary domain name. By DDNS the secondary domain name separately, the problem can be solved.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.