T The Triage ManualTechnical Guides for IT Emergencies
P3 · Exchange & Mail Flow

Exchange 2007 TLS Certificate UntrustedRoot Failure for Domain-Secured SMTP Delivery

Exchange 2007 fails to deliver mail to domain-secured recipient domains when the remote SMTP server presents a TLS certificate issued by a private or unknown certificate authority, resulting in an 'UntrustedRoot' validation error. Mail flow to the affected domain is blocked while delivery to non-domain-secured domains continues normally, and a temporary workaround exists by removing the domain from TLSSendDomainSecureList. Resolution requires identifying the remote server's certificate issuer via OpenSSL and either importing the missing root CA into the Exchange server's Windows trusted root store or coordinating with the remote administrator to replace the certificate with one from a publicly trusted CA.

Indicators

Likely causes

Diagnostic steps

  1. Inspect the remote SMTP server's TLS certificate using STARTTLS on port 25: run 'openssl s_client -connect mail.example.com:25 -starttls smtp' and capture the full output.
  2. If the remote server uses implicit TLS on port 465, run: 'openssl s_client -connect mail.example.com:465' instead.
  3. Review the OpenSSL output: note the Issuer field, Subject, validity dates (Not Before / Not After), and the full certificate chain presented (look for 'Certificate chain' section and verify depth).
  4. Check whether the chain is complete — confirm the root CA certificate is included or can be resolved. A depth of 0 with no chain indicates a self-signed or chain-incomplete certificate.
  5. On the Exchange server, open certmgr.msc or use PowerShell ('Get-ChildItem Cert:\LocalMachine\Root') to enumerate trusted root CAs and confirm whether the issuing CA from the OpenSSL output is present.
  6. If the root CA is a known private or internal CA, request the root CA certificate file (.cer or .crt) from the remote server's administrator and import it into the Windows Trusted Root Certification Authorities store (Local Computer) on the Exchange server.
  7. If the certificate is self-signed or from an unrecognised CA and the remote party cannot provide a trusted root, escalate to the remote administrator to replace the certificate with one issued by a publicly trusted CA (e.g., DigiCert, Sectigo).
  8. Re-test TLS delivery by sending a message to the domain-secured recipient domain and verifying Exchange logs no longer report UntrustedRoot.

Resolution path

Prevention

Tools

References

exchange-2007smtptlscertificateopenssldomain-securitystarttlsuntrusted-rootwindows-server-2008mail-deliverytls-send-domain-secure-listcertificate-chainprivate-caself-signed