What HTTPS actually protects

HTTPS uses TLS to authenticate the website’s certificate and encrypt data in transit. It helps prevent network eavesdropping and tampering between visitor and server. Browsers show warnings for invalid, expired or mismatched certificates.

  • Redirect HTTP to the exact HTTPS destination, not through a chain of intermediate hosts.
  • Renew the certificate before expiry and cover every public hostname you use, including www when applicable.
  • Keep the canonical host and certificate names aligned after a domain migration.
  • Check embedded content and downloads as well as the HTML page.

Remove mixed content, do not just hide its symptoms

Mixed content happens when an HTTPS page requests some resources over HTTP. Browsers block insecure active content such as scripts and may block or upgrade certain media. An old image URL can be as much a maintenance problem as a broken script.

Update application templates, content, CSS and third-party embed URLs to HTTPS. Then check that the remote service actually supports HTTPS and that its certificate is valid. Removing the browser warning without fixing a malicious or compromised resource is not remediation.

Security headers add useful browser instructions

Strict-Transport-Security (HSTS)

Tells browsers to use HTTPS for future visits within the stated policy. Add it only after HTTPS works reliably across every included host. Test before using preload or broad includeSubDomains settings.

X-Content-Type-Options: nosniff

Reduces MIME-type confusion by instructing the browser to follow declared content types. It is one small part of a secure delivery setup.

Frame restrictions

Use CSP frame-ancestors or, for older defensive coverage, X-Frame-Options to control which sites may frame your pages. Match the policy to legitimate embedding needs.

Content-Security-Policy (CSP)

Limits permitted content sources and can reduce injection impact. Build it from your real asset inventory and test carefully; a copied policy can break essential features.

Reduce accidental information disclosure

  • Do not expose .env files, source-control metadata, backups or private configuration.
  • Avoid advertising exact server and framework versions when unnecessary.
  • Keep administrative data behind authentication; robots.txt is not access control.
  • Rotate exposed credentials through the provider rather than moving them to another file and calling the issue fixed.

What a lightweight SiteVitals check does and does not cover

SiteVitals checks HTTPS, certificate validity/expiry, HSTS, mixed content, selected clickjacking/content-type headers, obvious server version disclosure and a short set of sensitive exposed paths.

That is a useful hygiene check. It is not a penetration test, malware investigation, application-code audit or guarantee against attack. A serious incident needs a qualified security response and careful preservation of evidence. Never trust a scan that diagnoses an issue it did not actually measure.

Put it into practice on your own website

Use this guide as a working checklist, not a score to screenshot and forget. Start with the page a customer is most likely to use. Save the evidence, choose the smallest meaningful repair, then repeat the same test after you make the change.

1. Confirm the public result

Look up the exact URL in an independent browser and inspect its status, HTTPS certificate and important resources. Save the time, evidence and scope. Do not assume an internal admin screen proves the public site is healthy.

2. Assign the next action

Give DNS, hosting, certificate, application or third-party issues to a current technical owner. For security concerns, preserve logs and rotate exposed credentials properly. Never send secrets through an ordinary support ticket or chat.

3. Test recovery and prevention

Recheck the public journey and the original measurement after the fix. Add expiry or availability reminders, a tested backup/rollback path and a review of recent changes. A green badge alone is not a recovery plan.

Common questions

Does the browser padlock mean a website is safe?

It indicates a secured HTTPS connection subject to the browser’s checks. It does not validate the business, its intentions, its application code or every link and integration.

Will enabling HSTS hurt SEO?

HSTS is about secure transport, not a shortcut to rankings. Enable it only after HTTPS is working for all affected hostnames. HTTPS itself is a lightweight Google ranking signal, not a rankings guarantee.

Primary sources & further reading

We write practical guides using the same standards we recommend: measure what you can, state your limits and link to the source.