-
Notifications
You must be signed in to change notification settings - Fork 188
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
wolfssl 在某些平台上无法正确校验 SSL 证书 #169
Comments
mips 吗? |
下载的哪个 chinadns-ng 版本? 我编译一个 关闭 SSL 证书校验 的版本给你试试? |
刚试了 tls://one.one.one.one@1.1.1.1,正常工作, |
自建smartdns DoT 的证书是acme.sh的,是不是证书不对 |
稍等,我改下代码,关闭证书验证。待会你试试 |
1.1.1.1也有报错,大量-313 |
下载这个,看看? |
这个不报错了,也能正常查询, |
估计是 wolfssl 证书校验这块有点问题(奇怪的是,x86(64)、aarch64 没问题),我之前用 qemu 测试 mips 上的 DoT 也会有你这个问题,没想到真机上也有问题,那就默认关闭吧。 |
见最新 2024.04.30 版本,应该没问题了。 |
不知道是哪里的问题,因为同样的配置,在debian12的nanopi上就不报错,且查询正常,但是在openwrt的newifi3上就报错;
trust-dns tls://aa.bb.cc@11.22.33.44#5566
上游是vps上的smartdns开的DoT,
尝试更新证书,安装libwolfssl、ca-certificates没解决,也无法在别的设备上复现,不知道是哪里的问题
2024-04-30 08:30:01 W [Upstream.zig:586 TCP.on_error] connect(tls://aa.bb.cc@11.22.33.44#5566) failed: SSL_ERROR(-155)
2024-04-30 08:30:01 W [Upstream.zig:586 TCP.on_error] ssl error: ASN sig error, confirm failure
The text was updated successfully, but these errors were encountered: