# How to Diagnose Different TLS Certificates Over IPv4 and IPv6

https://ferkesh.net/uk/baza-znan/stattia/ssl-cert-ipv6-expiry-split

![Workflow: Record both address families; Inspect with the intended name; Trace certificate attachment; Verify both routes.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-13.svg#ssl-cert-ipv6-expiry-split)

Visitors can receive different certificates when IPv4 and IPv6 reach different listeners or origins. Use diagnostics on infrastructure you administer to confirm which path failed.

## Procedure

1. **Record both address families.** Read the public A and AAAA addresses and note whether a proxy is expected. Obtain the actual failing address and time from approved diagnostics.
2. **Inspect with the intended name.** Connect to each approved endpoint using the correct hostname for TLS server name and verification. Compare expiry, issuer and hostname coverage.
3. **Trace certificate attachment.** Check which listener, proxy or virtual host served each result. Renewing a certificate in one place does not install it on every backend or proxy.
4. **Verify both routes.** After a targeted repair, retest over both address families and through the public hostname. Avoid removing an intended AAAA record unless the designated owner approves the routing decision.

## Related guides

- [What Dual-Stack DNS Means for Website Visitors](https://ferkesh.net/knowledgebase/article/dual-stack-dns-for-websites)
- [How to Diagnose a Stale AAAA Record After a Site Move](https://ferkesh.net/knowledgebase/article/stale-aaaa-after-hosting-move)
- [SSL and Website Security articles](https://ferkesh.net/knowledgebase/category/ssl-and-website-security)

## Official references

- [OpenSSL s_client documentation](https://docs.openssl.org/3.5/man1/openssl-s_client/)

Ferkesh Hosting. Last reviewed November 26, 2026.
