Ssl – Multiple SSL Websites running from 1 IIS Site

asp.nethttpsiisssl

I am trying to find the best way to set up SSL certificates for a CMS web application we're developing. We'll be adding new sites frequently which require content to be served over HTTPS / SSL, but the domains will be different per client.

It is an ASP.Net (3.5 SP1) application running on IIS 6 (Win Server 2003), and ideally we'd like to run it from one IIS site. Firstly for performance, as I'm guessing having lots of IIS sites running from the same set of files, each maintaining their own database connections and cache isn't a very good idea?! Secondly, to keep things simple from a maintenance and scalability point of view.

So, is there a way to set up our app on one site in IIS which has some kind of universal SSL certificate for potentially hundreds of domains? Or if that's not possible or not recommended, what are the next best options? Or if upgrading to Win Server 2008 & IIS7 would help, we could look at that too.

Many thanks,
Tim

Best Answer

Its not possible to use more than one certificate per site in IIS 6 and as far as I am aware the same is true of IIS 7.

If your clients can all use a subdomain of the same domain, you could use a wildcard cert (*.domain.com) to do this. If thats not possible, then a SAN cert would allow multiple domains in one certificate,but if your going to need hundreds of domains, its going to get expensive, and you may reach a limit of how many domains your allowed per cert.

There's nothing to stop you having multiple sites in IIS, all pointing to the same content.