0

I am using imperva CDN as proxy for my two web sites.
Also i am using IIS 7.0 (Windows server 2008-R2) as my web host.
Web site 1 is like : www.test-1.com
Web site 2 is like : www.test-2.com
After config CDN and DNS records every thing is working very well.
Now i want to use ssl certificate of CDN for both web sites.
For doing this i did https (port 443) binding for web site 1 with default certificate of windows.

port 443

And did https (port 444) binding for web site 2 with default certificate of windows.
Problem is i can not use same port 443 for web site 2 & i forced to redirect port 443 to 444 in CDN config.

How do i use same port 443 for both web sites in IIS 7.0?
Also tell me is using default certificate of windows the correct way for ssl certificate on origin side?


EDIT :
I only have one ip address and i am using it for both web sites in IIS.

1
  • Please check here - Solution on this questions is for IIS 8.0 & there is no selected answer there. Commented Feb 1, 2022 at 7:25

1 Answer 1

2

IIS 7.0 isn't able to handle it. Including the host name in the SSL handshake is a relatively new innovation. It wasn't so long ago that you had to have a dedicated IP address for each host name for HTTPS to work. I'm not sure when IIS started supporting HTTPS virtual hosting, but IIS 7.0 didn't support that.

IIS 7.0 was released 14 years ago and support for it ended in January 2020. You should not be using it anymore.

1
  • @SilverLight I made my statements in this answer more definite than in my comments based on your confirmation. If you've found a reference it would be nice if we could include it. Commented Feb 1, 2022 at 12:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.