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

证书申请时后台报错 #811

Open
mklabcn opened this issue Jan 9, 2025 · 5 comments
Open

证书申请时后台报错 #811

mklabcn opened this issue Jan 9, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@mklabcn
Copy link

mklabcn commented Jan 9, 2025

域名证书申请bug

1 域名是 godaddy 的 cc 域名
2 证书的 acme用户 和 DNS 凭证 是ok的已经验证并且之前有过成功经历

问题
在申请证书时报No TXT record ,我以为是域名的DNS需要配置下txt记录呢,但是配置之后也是错误的,后来再日志控制台看到了查询库时是有错误的,所以请帮忙看下是否是bug

申请证书图片
image

后台日志报错
image

@mklabcn mklabcn added the bug Something isn't working label Jan 9, 2025
@0xJacky
Copy link
Owner

0xJacky commented Jan 9, 2025

不需要手动设置 txt 记录的,你可以等晚一点点再试一下,不清楚是不是因为 DNS 缓存造成的,也可以在偏好设置中手动指定 DNS 服务器为 1.1.1.1 或者 8.8.8.8

@mklabcn
Copy link
Author

mklabcn commented Jan 9, 2025

是的,我之前用的时候也是不需要手动设置的,那设置DNS服务器不用填写端口吧?
image

@0xJacky
Copy link
Owner

0xJacky commented Jan 9, 2025

本来也不需要手动设置,可能是本地的DNS服务器有缓存,所以这种情况要手动设置,不带端口号,默认用53

@mklabcn
Copy link
Author

mklabcn commented Jan 9, 2025

过去几十分钟了,试了几次,问题和上面的一样

1 不配置DNS服务器,尝试失败
2 配置DNS服务器,无端口不让提交,使用的是 8.8.8.8:53 , 尝试失败
3 去服务器中手动刷新DNS,尝试失败
4 切换的软件的版本 41 到 42,尝试失败

请问还有什么方式验证方式吗?

@0xJacky
Copy link
Owner

0xJacky commented Jan 9, 2025

https://go-acme.github.io/lego/usage/cli/obtain-a-certificate/index.html#using-a-dns-provider

下载 lego 二进制,手动执行一下看看

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