Closed cmonty14 closed 10 months ago
If I compile here with openssl 3.0, it does not complain that there is no name verification, that works fine. Is the output line with the compile version not the same as the unbound-host executable linked ssl library?
Then there is connection reset, and this also does not happen for me, is there a simple outgoing firewall rule that blocks all traffic?
It then fails for me with a certificate failure. The commit adds more details that it prints for the certificate failure, and in this case it prints:
error: ssl handshake failed crypto error:0A000086:SSL routines::certificate verify failed
error: ssl handshake cert error: unable to get local issuer certificate
notice: ssl handshake failed ip4 5.9.164.112 port 853 (len 16)
The new cert error line is added by the commit https://github.com/NLnetLabs/unbound/commit/1f46d5945bc41ceca7687a2f34cd5bfec6832bd9. Is there no cert root for the remote site? With like tls-cert-bundle: "/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt"
. If I add that configuration, the example works, and prints the DNS resolution.
Describe the bug Setup of unbound forwarding using DNS over TLS (DoT) is not working. I'm using this configuration:
This is the error message running command
sudo unbound-host -C /etc/unbound/unbound.conf -v unbound.net
:To reproduce Steps to reproduce the behavior:
/etc/unbound/unbound.conf.d/dot.conf
sudo unbound-host -C /etc/unbound/unbound.conf -v unbound.net
Expected behavior DNS works w/o errors.
System:
unbound -V
output:Configure line: --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --disable-rpath --with-pidfile=/run/unbound.pid --with-rootkey-file=/var/lib/unbound/root.key --with-libevent --with-libnghttp2 --with-pythonmodule --enable-subnet --enable-dnstap --enable-systemd --with-chroot-dir= --with-dnstap-socket-path=/run/dnstap.sock --libdir=/usr/lib Linked libs: libevent 2.1.12-stable (it uses epoll), OpenSSL 3.0.2 15 Mar 2022 Linked modules: dns64 python subnetcache respip validator iterator
BSD licensed, see LICENSE in source package for details. Report bugs to unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues