Redirect from https to http when the SSL cert is no longer valid

后端 未结 2 1918
长发绾君心
长发绾君心 2020-12-22 03:34

I have an IIS 6.0 server and I\'m no longer using an SSL certificate (Don\'t need it anymore because of some functional changes, don\'t have a valid one I can use). Is ther

2条回答
  •  情话喂你
    2020-12-22 04:16

    No, you can't.

    Redirections from HTTPS to HTTP happen after the initial HTTPS request has been made, and this request expects a valid certificate to be used. If what you'd like to do was possible, downgrade MITM attacks would be far too easy to perform.

    Perhaps turning off port 443 completely might make your users try plain HTTP too, although they really should consider this to be a potential attack if they don't know your site.

提交回复
热议问题