Multiple domains with HTTP and HTTPS endpoint and UCC SSL Certificate in Windows Azure Web Role

In Windows Azure you can create multiple website running within a single web role. For each site you can use HTTP and HTTPS endpoint. Please follow the blog below from Wade on how to have multiple domains in one web role:

https://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/

            

When you have multiple web sites in your Azure Web role you will use the same HTTP (80) and HTTPS (443) endpoints however a different host header for each different side. Because of separate bindings for each host header the IIS will be able to serve each request individually to each domain.

 

Using SSL Certificate in Windows Azure on not specific to Windows Azure instead how you develop your application and based on that you can use multiple types of SSL certificate. If you are using Web Role so your Web Role is running in IIS server (which is same as any other IIS server running in Windows Server 2008/SP1/R2) so having SSL certificate for your multiple domains in Azure Web Role is same as having two or more domains in any IIS server.

What is a Multiple Domain (UCC) SSL Certificate?

  • Unified Communications Certificates (UCC) are SSL Certificates that secure multiple domains and multiple hostnames within a domain. They allow you to secure a primary domain, and up to 99 additional Subject Alternative Names, in a single certificate. UCCertificates are ideal for Microsoft® Exchange Server 2007, Exchange Server 2010, and Microsoft Live® Communications Server.

 

Can I use UCC Certificate in Azure?

  • You sure can use UCC certificate with Windows Azure which can support up to 99 domains and subdomains. With UCC certificate you are going to bind same SSL certificate with multiple HTTPS endpoints and you will upload the same certificate to Windows Azure Management portal. You will also see that same certificate will be used with all domains so if someone tries to view certificate they will see all the domains which this particular certificate provide SSL authentication. Using UCC certificate with Windows Azure as Azure platform does not care how you are binding endpoints with which certificate so I don’t see any problem.

 

More info on Certificates in Azure: