IIS 7 and Above
URL Rewrite Module
https to http with an existing certificate
Last post Nov 15, 2017 10:01 AM by Yuk Ding
Nov 09, 2017 01:31 AM|fcandia|LINK
I have multiple sites in IIS 7 but only one site with an SSL certificate, all works ok, but when some one calls a site that not use the certificate this call is showing the site with the certificate. for example
the site with certificate is https://test.com
site without certificate http://test2.com
this calls are correct and work ok.
but if some one per error call the second site with https, (https://test2.com) the browser shows the warning that the connection is not secure and if they push the ok botton the browser shows the site with certificate.
how can i prevent this?
Nov 13, 2017 08:43 AM|Yuk Ding|LINK
How did you set the binding for https site? If there is a site with no host name and unassigned IP address. Then it could return this message. So please check all the site binding have specific ip address and host name. In addition, use purchased CA certificate
should be able to avoid the warning.
Nov 14, 2017 11:08 AM|rodriguesf53|LINK
Try using different port for https://test.com or use a particular IP for test.com instead of "All Unassigned"
Nov 14, 2017 05:11 PM|fcandia|LINK
Hi Yuk Ding
After analyzing possible solutions, I decided to add one more ip to the server and leave this new ip exclusively for the site with ssl, this way I no longer have the security error, now when by mistake someone calls one of my sites with https, it sends the
message that can not connect to the server. I need to put a redirect from hhtps to http, any suggestions?
Nov 15, 2017 10:01 AM|Yuk Ding|LINK
You could just add a global rewrite rule to abort the request which have the domain name