SSL / monitoring TECHNICAL HANDBOOK / 2026

TROUBLESHOOTING

Fix SSL errors after an A, AAAA or CNAME change

An A, AAAA or CNAME change can move a hostname to a new TLS endpoint. Prepare that endpoint’s certificate before moving traffic, then compare the old and new routes.

Find where it fails

The new destination has no matching certificate or still serves a default one. Cached answers can keep clients split between the old and new routes during the transition.

Compare the failing client’s resolved address with intended DNS values. Query each relevant address using the original hostname for SNI and verification; include both address families.

Work through the symptoms

The new destination serves a default certificate

Prepare its TLS virtual host and chain before directing more clients there.

Old and new clients disagree

Preserve resolver answers and peer addresses. Cached answers can keep both routes in use during migration.

The CNAME resolves but the name still fails

The certificate must cover the requested hostname, not merely the CNAME target’s name.

Run the checks

dig www.example.com A
dig www.example.com AAAA
dig www.example.com CNAME
curl -Iv --resolve 'www.example.com:443:192.0.2.20' https://www.example.com/

Keep the full dig response for its status and TTL. Record the peer address shown by curl as well, so you know which server answered the test.

Generate commands for your terminal →

Apply the fix

Install and validate the matching certificate at the new destination before directing clients there. Correct unintended DNS answers or use the approved migration rollback where necessary. Test the old and new paths while cached answers can coexist.

Confirm the result

Validate the old and new destinations using the original hostname, then repeat the test through the resolver that failed.

Check the deployment details

Keep the old endpoint available for the planned migration window. Existing caches can retain the previous TTL even after you lower the published value. Check apex, aliases, IPv4, IPv6 and any split-DNS view.

Keep it monitored

Record DNS changes alongside the served certificate’s fingerprint and expiry. DNS Notify brings these changes into a domain timeline you can compare with migrations and rollouts.

Related error messages

References