Skip to content
ferkesh.HOSTING

Why an HTTPS Redirect Needs a Certificate on the Old Hostname

SSL and Website Security 68 visualizações Markdown
Diagram linking List redirect sources, Check old certificate, Read redirect response and Verify destination.

A browser visiting https://old.example.com needs to establish TLS with old.example.com before it can read a redirect response. A valid certificate for new.example.com cannot repair an invalid certificate on the source hostname. The redirect is only seen after the encrypted connection succeeds.

Verify the complete path

  1. List old hostnames that can still be used over HTTPS, including both the apex and www if applicable. Inspect the source certificate for each name using a normal browser connection.
  2. Inspect the HTTP status and Location only after TLS succeeds. For a read-only check, use curl -I https://old.example.com/ and then compare a representative path. If the platform handles HEAD differently from GET, verify the normal browser navigation too.
  3. Visit the endpoint returned by the redirect. Confirm its certificate, expected path and canonical page. Keep source DNS, hosting or proxy mapping, and certificate renewal in place for the planned redirect period.

Do not bypass certificate validation to mark the check as passed. If a legacy HTTPS request fails before a redirect, fix the certificate or virtual host at the source first.

Check how HSTS changes repeat visits if returning browsers upgrade the old hostname to HTTPS before the redirect is reached.

Official references

Ferkesh Hosting. Last reviewed .

Foi útil?

Obrigado pela sua opinião!

Ainda precisa de ajuda?

A equipa de apoio está disponível a qualquer hora para ajudar com o que não encontrar na base de conhecimento.