skip to Main Content

How to present it in a (pseudo)code solution to this issue?

I tried to access the HTTPS URL over the HTTP site. It redirects to the HTTPS correctly without my knowledge. Could anyone explain how it works and what can go wrong with this?

2

Answers


  1. nothing if you have everithing right in .htaccess file

    Login or Signup to reply.
  2. There are two things that could go wrong that I can think of in an HTTP -> HTTPS redirect:

    1. There’s no SSL/TLS binding for the site, in which case the redirect would fail instantly.
    2. There is no certificate, a bad certificate, or an expired certificate bound to the site, in which case the user would get a browser warning about the site being insecure.

    There are probably more conditions, but these stand out to me.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search