TROUBLESHOOTING
Find IPv4 and IPv6 certificate inconsistencies
A dual-stack hostname can reach separately configured listeners. An IPv4-only success can miss an IPv6 deployment or validation failure.
Find where it fails
The AAAA record points at an older server, or the IPv6 listener has different TLS settings. A check that exercises only IPv4 can miss the inconsistency.
Compare curl -4 and curl -6, then inspect each destination. For Let’s Encrypt, the documented IPv6-first validation and limited fallback behaviour can matter when both A and AAAA records exist.
Work through the symptoms
IPv6 reaches a different certificate
Inspect the AAAA destination and IPv6 listener configuration.
IPv6 cannot connect at all
Investigate routing, filtering and the listener before assuming certificate expiry.
Renewal fails despite IPv4 working
Read the CA’s IPv6 validation and fallback rules for the challenge in use.
Run the checks
dig www.example.com A
dig www.example.com AAAA
curl -4 -Iv --connect-timeout 10 --max-time 20 https://www.example.com/
curl -6 -Iv --connect-timeout 10 --max-time 20 https://www.example.com/Run the IPv6 check from a network with working IPv6. Save the peer address and complete result from each request.
Apply the fix
Repair the IPv6 TLS listener or unintended AAAA destination, alongside the intended IPv4 configuration. Retest both families independently and repeat any failed ACME authorization; do not treat IPv4 success as evidence about IPv6.
Confirm the result
Validate the hostname, chain and served fingerprint over IPv4 and IPv6, then retry any failed renewal authorization.
Check the deployment details
A stale AAAA record can send IPv6 clients to an older listener. Compare certificate configuration on both destinations, and check the CA’s address-family behavior when debugging ACME authorization.
Keep it monitored
Add separate IPv4 and IPv6 connection tests to deployment checks. Track the A and AAAA records so an unexpected route change is visible.