Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用name.com为提供商申请泛域名证书报错 #875

Open
upcyan opened this issue Feb 19, 2025 · 1 comment
Open

使用name.com为提供商申请泛域名证书报错 #875

upcyan opened this issue Feb 19, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@upcyan
Copy link

upcyan commented Feb 19, 2025

报错提示obtain certificate error: error: one or more domains had a problem: [.<配置的域名>] [.<配置的域名>] acme: error presenting token: namedotcom: <马赛克>.acme.nginxwebui.cn. is not a subdomain of <配置的域名>.
单域名证书申请是可以的,可能是name.com改了api还是申请脚本配错了?
另外申请失败的证书也会出现在证书列表,也不能手动刷新和重新配置,只能删除,能否优化下申请逻辑,没申请成功的就不要创建在证书列表里了,或者增加修改按钮手动重新配置
PS.试了下另一个部署在cloudflare的域名,用cloudflare为提供商申请泛域名证书是成功了的

@upcyan upcyan added the bug Something isn't working label Feb 19, 2025
@0xJacky
Copy link
Owner

0xJacky commented Feb 19, 2025

麻烦下载最新版尝试手动执行,
https://github.com/go-acme/lego/releases/tag/v4.22.2

NAMECOM_USERNAME=foo.bar \
NAMECOM_API_TOKEN=a379a6f6eeafb9a55e378c118034e2751e682fab \
lego --email [email protected] --dns namedotcom -d '*.example.com' -d example.com run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants