On Sat, Apr 18, 2026 at 08:22:37PM +0200, Michael Grimm via dane-users wrote:
> Viktor Dukhovni <[email protected]> wrote: > > > Make sure: > > > * With RSA certificates, the key sizes is 2048 or 3072 bits > > > > * With ECDSA certificates use a P256 key. > > Just to clarify this for me: Are these "exact" or "minimal" recommendations? > > For instance: I do use RSA certificates with a key size of 4096 bits and > ECDSA with a P-384 key. > > Thus, should I better downgrade? Maybe. While in specific application environments, with expected peers known to support those parameters, these settings are reasonable, they are I think somewhat straining the interoperability boundaries. The 4096-bit RSA key is probably OK, but 3072 may be a safer choice. The P384 EC key may not be as widely supported as P256, and it is unclear what the significantly lower performance of P384 buys you (other than potentially slightly reduced interoperability). Both choices are at the edge of the "widely used" interoperable range, though admittedly P384 is used in e.g. the Let's Encrypt YE[1-3] issuer CAs, and the Fedora 43 WebPKI trust bundle (146 root CAs) includes 67 roots with 4096-bit RSA keys, and 40 with P384 keys. So from that perspective your choices are still in the mainstream. But do keep in mind that a DANE SMTP client is independent of the WebPKI, and some of the software stacks may be older or "less typical". You can of course monitor your systems for signs of persistent TLS handshake failures with some clients, and if the clients are likely legitimate, consider other options. The essence of my advice is to choose "mainstream" TLS parameters, monitor the correctness of the TLSA records of all your MX hosts (at all of their IP addresses), and monitor STARTTLS failure stats to see whether particular clients (that are not likely to just be botnets or TLS parameter exploring scan engines) are consistently having trouble establishing a TLS session. While the DNSSEC/DANE survey <https://stats.dnssec-tools.org/> does connect to known DANE MX hosts on a daily basis, it tries to use mainstream client parameters, and makes no attempt to probe the set of parameters supported by remote servers. When, in occasional manual reviews of persistent failures, I do double-check a small set of MX hosts, I may try to figure out what specifically breaks the handshake, and whether I can adjust the client side to be more "accommodating" (such as forward-porting CBC cipher support to the latest release of the Haskell TLS library). But no server operator should rely on "heroic" efforts by clients to be interoperable with their servers, or, conversely, no client operator should rely on servers going out of their way to maintain interoperability with "exotic" client stacks or configurations. -- Viktor. 🇺🇦 Слава Україні!
