Skip to content
Microsoft (Outlook.com and Microsoft 365) · permanent error

5.7.322: destination certificate expired (DANE)

The receiving server presented an expired certificate on a domain protected by DANE, so Exchange Online did not send.

Microsoft
Provider
Permanent (5xx)
Class
Sources checked
Author

At a glance

Code
5.7.322
Temporary or permanent
PermanentRefused for good: the message comes back to the sender, and resending it gets the same answer.
Who has to act
The recipient's side. Their mail admin has to change something; you can tell them.
What the server says
5.7.322 certificate-expired: Destination mail server's certificate is expired.

What it means

Under DANE the receiving server must present a valid X.509 certificate that has not expired. Here DNSSEC validation passed, the connection opened, and the certificate the server offered was past its expiry date. Exchange Online will not deliver over a connection it cannot trust, so it holds the message (4.7.322) and later returns it (5.7.322). Certificates have to be renewed when they expire, most often every year, and this error is often the first sign that a renewal was missed on a mail server.

Common causes

  • The certificate on the receiving server expired and was not renewed.
  • A renewed certificate was obtained but never installed on the mail server.

How to fix it

  1. 01Tell the recipient's admin.
  2. 02The destination admin should install a current certificate on every MX host.
  3. 03If the TLSA records pin the old certificate or key, publish TLSA records for the replacement before or alongside the change.

Sources

What this page rests on, checked on 20 Oct 2026. The explanation is ours; the reply text is the server's.

  1. 5.7.321Destination server does not offer TLS (DANE).Exchange Online needed TLS for this domain under DANE, but the receiving server did not answer STARTTLS or the handshake failed.MicrosoftPermanent
  2. 5.7.323Certificate does not match the TLSA record (DANE).The destination's DNSSEC-signed TLSA records do not match the certificate its server presented, so Exchange Online treated delivery as unsafe.MicrosoftPermanent

All 111 Microsoft codesEvery code in the wikiPaste your own bounce

Beat · paid monitoring

A heartbeat for your email.

Beat runs every check on this site on a schedule: 41 checks, 33 blacklists and real inbox placement. The moment something breaks, it tells you what broke, why it matters, and the exact fix.

example.comWatching
  • SPFpass
  • DKIMpass
  • DMARCp=none
  • Blacklists0 of 33

Illustrative. Your domain, every few hours.

Also from us:Pulse: your own sending infrastructureConsulting: $65/hr, no retainer