[ Transport security ]

DANE validation failures after a certificate or key change

Diagnose DANE breakage by comparing the served certificate, secure TLSA answer and deployment timeline before changing trust policy.

By the EmailAuth research team · 3 min read

[ Key points ]

  • Separate the DNS trust, TLS handshake and association-match failures.
  • Compare the selected DER bytes from each active endpoint.
  • Repair covered key and DNS states without silently removing security.
On this page

When DANE delivery starts failing after a certificate change, first establish whether the key changed, whether the TLSA association uses that key, and which certificate each receiver actually serves. A generic certificate warning can hide a DNSSEC failure, an incorrect selector or a partial deployment. Fixing the wrong layer can leave mail queued while making the evidence harder to interpret.

Preserve the failing observation

References: RFC 7672 §2, RFC 7672 §3.

Record the sender implementation, timestamp, recipient domain, selected MX host, port, receiving IP and observed failure. Retain the DNSSEC validation result and the relevant TLSA answer alongside the certificate or its public fingerprint. If the sender retries another host, keep that as a separate observation. A dashboard summarizing the entire domain cannot replace endpoint-level evidence.

Distinguish handshake failure from authentication failure after a handshake. A network timeout does not prove that the TLSA digest mismatched. Conversely, receiving a certificate proves neither a trusted DNSSEC chain nor successful DANE authentication. RFC 7672 defines the discovery and validation steps separately. RFC 7672 sections 2 and 3.

Check usage and selector before comparing bytes

References: RFC 6698 §2.1.2, RFC 6698 §2.1.3, RFC 7672 §4.

For a 3 1 1 association, extract the served certificate's DER SPKI and calculate SHA-256. A certificate renewal that reuses the same key can leave this digest unchanged. A key rotation cannot. With a full-certificate selector, a renewed certificate changes the association even if the key is retained. Do not use a browser's certificate fingerprint interchangeably with an SPKI fingerprint.

The retained 7 November 2026 OpenSSL fixture, inspected but not rerun here, created certificates A and B with different keys and a reissue A2 with A's key. Its recorded calculations show A and A2 share the selected SPKI digest while B differs. It then deliberately compares B with A's association and records failure. The test uses real generated certificate bytes but is local, synthetic evidence rather than a captured production incident.

Reconstruct DNS and endpoint timing

References: RFC 7671 §8.1, RFC 7672 §2.1.

Compare the new-key activation time with publication of the overlapping association set and expiration of previous cached data. If B was deployed while a sender retained A-only records, a correct sender can reject B. Querying authoritative DNS after the incident and seeing B does not disprove that earlier cache state.

Check all backends and address families. A server that failed to reload might keep A while other servers use B. A new-only TLSA set would then fail only part of the traffic. DNSSEC failures have another timeline: signatures, delegation and resolver validation must be examined without casually treating bogus data as unsigned. RFC 7672 sections 2.1 and 4.

Restore consistency rather than disabling checks

References: RFC 7672 §3.1.1, RFC 7672 §4.

Where the key is not compromised, restoring a previously covered certificate or correctly overlapping associations may be appropriate, subject to the actual cache and rollout state. Coordinate mail and DNS owners and verify the repair from the sending side. Do not assume deleting TLSA will immediately remove cached requirements, and do not convert a security failure into unauthenticated delivery as a default workaround.

For DANE-EE, do not import every browser PKIX rule into the diagnosis: its certificate usage has specific authentication semantics, including no certificate-name match requirement and ignored certificate expiration for DANE-EE usage 3 under RFC 7672 §3.1.1. Do not extend this specific rule to every TLSA usage. That does not excuse expired operational certificates where other senders use PKIX or MTA-STS. Separately, the retained 7 November 2026 review evidence contains timestamped loopback STARTTLS sessions. The sessions were inspected but not rerun for this revision. A controlled client observes certificate B at a recorded 127.0.0.1 port, extracts the peer SPKI and refuses an A-only association. The corrected overlapping A-plus-B control accepts the route. Separately, Python/OpenSSL certificate verification rejects B against trust material A, while A succeeds. The private review package retains seven transcripts and peer certificate bytes for the four cases reaching certificate capture. Failed-handshake and no-STARTTLS cases do not contain captured peer certificate bytes. This is a small lab client with configured TLSA inputs, not an Internet DNSSEC result or production MTA incident. No message was sent; production acceptance still needs the intended endpoint and sender trace.

[ Takeaway ]

Repair covered key and DNS states without silently removing security.

[ By role ]

What this means for you

Choose your role for practical next steps.

IT / Mail Admin

Compare served material

Files on disk may differ from certificates on the wire.

Next steps

  1. Capture endpoint IPs.
  2. Extract the correct selector.
  3. Compare cached and current RRsets.

CISO / SecOps

Avoid downgrade repairs

A passing weaker connection is not restored DANE assurance.

Next steps

  1. Keep validation enabled.
  2. Review key compromise separately.
  3. Retain sender-side verification.

Founder / Non-technical

Preserve the incident timeline

A partial rollout can cause intermittent business impact.

Next steps

  1. Record affected periods.
  2. Identify release owners.
  3. Require evidence before closure.

[ FAQs ]

Frequently asked questions

Does every renewal change the TLSA digest?

No. It depends on selector and whether the public key changes.

RFC 6698 §2.1.2 RFC 7672 §4

Is a browser fingerprint the right comparison?

Not automatically. A 3 1 1 association hashes DER SPKI rather than the whole certificate.

RFC 6698 §2.1.2

Does a timeout prove a DANE mismatch?

No. It may occur before the certificate comparison.

RFC 7672 §3

Why can only IPv6 traffic fail?

The IPv6 endpoint may serve different certificate material or have a different network failure.

Does fresh DNS refute an earlier cache problem?

No. Earlier sender caches can have contained a different association set.

RFC 7671 §8.1

Should I delete TLSA immediately?

Investigate and restore consistency; deletion does not instantly clear cached policy.

RFC 7672 §4

Do DANE-EE and browser validation use identical rules?

No. Apply the certificate-usage rules of RFC 7672 rather than assuming PKIX semantics.

RFC 7672 §3.1.1

What connection evidence is summarized?

Retained 7 November 2026 loopback STARTTLS records were inspected, not rerun. Seven transcripts and four peer-certificate captures cover the bounded fixture; Internet DNSSEC and production MTA evidence remain pending.

[ Sources ]

Sources

  1. RFC 6698

    Sections §2.1.2 · §2.1.3

  2. RFC 7671

    Sections §8.1

  3. RFC 7672

    Sections §2 · §2.1 · §3 · §3.1.1 · §4

[ Glossary ]

Glossary

DANE-EE
TLSA usage 3, authenticating the end-entity certificate or key through DANE.
Partial rollout
A deployment in which different active endpoints serve different versions.
Selector
The TLSA field selecting the certificate data used for matching.

Enterprise provenance

Why top financial institutions and governments retired their email security dashboards.

Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.

EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard,, with human-in-the-loop auditability.

Governments Large enterprises Tier-1 financial institutions

SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption

Knowledge Base