Replies: 4 comments 1 reply
-
Hello, I have the same problem as you, but I am different in that I have two domains, one of which can apply for a certificate normally, while the other domain name cannot apply for a certificate |
Beta Was this translation helpful? Give feedback.
-
你可以看看你的解析记录里面是不是有URL类型的泛域名,比如(www.xxxx.com), 可以先把这个解析暂停,然后就可以正常的申请证书 |
Beta Was this translation helpful? Give feedback.
-
I stumbled upon the same problem today while investigating why my cert hasn't renewed yet. I use AVM's MyFritz DynDNS service to access my internally hosted services. For this, I CNAME a subdomain to the DynDNS address record of MyFritz. I had my cert issued without problems initially. But on renewal it fails. lego seems to resolve the CNAME record and then use the resulting domain to determine the zone for further token actions. This, of course, is wrong :-). AFAIU Let's Encrypt's CNAME handling it is about setting a CNAME record for _acme-challenge.subdomain.example.com and then follow this to its target, not following a CNAME record for subdomain.example.com. In my case the CNAME subdomain.example.com should never be resolved to longuniqueid.myfritz.net for matters of determining the correct zone. By disabling the CNAME support I get the correct behaviour.
Why I think it's a bug? I stated my view above. The workaround shouldn't be necessary and might even make it impossible to use the CNAME support as intended in the future when a user wants to migrate the domain handling to a CDN. |
Beta Was this translation helpful? Give feedback.
-
Welcome
What did you expect to see?
I need to get the certificate through DNS method, and the domain name points to the dynamic DNS domain name in the router through CName method. The dynamic DNS domain name is not controlled, how should it be handled
What did you see instead?
How do you use lego?
Binary
Reproduction steps
Effective version of lego
Logs
Go environment (if applicable)
Beta Was this translation helpful? Give feedback.
All reactions