• interdimensionalmeme
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 hours ago

    There’s probably a way to redirect without validation. Only respond to port 80 if needed, then redirecr. Sure the browser might complain a little but it’s not as bad as invalid cert.

    • DreamlandLividity@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      43 minutes ago

      Maybe for some rando site, Google and any half competent site has HSTS enabled, meaning a browser won’t even try to connect with insecure HTTP, nor allow user to bypass the security error, as long as the HSTS header is remembered by the browser (the site was visited recently, set to 1 year for google).

      In addition, google will also be on HSTS preload lists, so it won’t work even if you never visited the site.