You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior
in unbound.conf, I can configure TLS1.2 and TLSv1.3 ciphers. But I can't configure, which TLS versions must be used.
Describe the desired feature
In some cases, if client and server side both support TLSv1.3, it may be usefull to explicit disable TLSv1.2. This is currently not possible. I also think, there are documents / drafts in the IETF, saying "TLS1.3 is the preferred protocol" but cant find a reference.
The similar issue for NSD is fixed with NLnetLabs/nsd@e2aaa7c . OpenSSL 1.1 from 2018 has TLSv1.3 support, so I think this is not likely to be an issue. Until people want to provide DoT to legacy clients, but that also seems unlikely, then it would need an option for allowing the older. For use of nsd-control, and unbound-control, those use the same openssl as the server, so have the same availability of TLS versions, so that works regardless.
Activity
wcawijngaards commentedon Jul 17, 2025
I have implemented the suggestion. I also believe that TLSv1.3 is deployed fairly widely so that this patch makes sense. Thanks for the heads up!
andreasschulze commentedon Jul 17, 2025
nice :-)
andreasschulze commentedon Jul 17, 2025
NSD has similar code: https://github.com/NLnetLabs/nsd/blob/master/server.c#L2131-L2148
- Fix NLnetLabs#1303: [FR] Disable TLSv1.2.
wcawijngaards commentedon Jul 17, 2025
The similar issue for NSD is fixed with NLnetLabs/nsd@e2aaa7c . OpenSSL 1.1 from 2018 has TLSv1.3 support, so I think this is not likely to be an issue. Until people want to provide DoT to legacy clients, but that also seems unlikely, then it would need an option for allowing the older. For use of nsd-control, and unbound-control, those use the same openssl as the server, so have the same availability of TLS versions, so that works regardless.
- Introduce new 'tls-protocols' configuration option that specifies
gthess commentedon Feb 16, 2026
@andreasschulze, see #1406. TLSv1.2 is again enabled by default but you could explicitly turn it off with the new
tls-protocolsoption in that PR.Introduce new 'tls-protocols' configuration option (#1406)