Avkash Chauhan's Blog

Windows Azure, Windows 8, Cloud Computing, Big Data and Hadoop: All together at one place.. One problem, One solution at One time...

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

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

Rate This
  • Comments 2

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:

http://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:

 

 

 

Leave a Comment
  • Please add 2 and 6 and type the answer here:
  • Post
  • As your thinking,fully agree with your thoughts. Continue to write and tell us a great job

  • I'm currently trying to use a UCC certificate with my Azure account, but it's not working with my sub-domains.  I've uploaded the single pfx file that I extracted from IIS7 to Azure successfully.

    Originally, I created a single HTTPS enpoint pointing in my project to the certificate and tried to use it with both "www.site.com" and "alpha.site.com", but I got an error saying that "alpha.site.com is not secure because the certificate is for www.site.com".

    I tried creating a second HTTPS endpoint (pointing to the same certificate on Azure) and that didn't work either.

    Can you provide some steps or help?  Thanks!

Page 1 of 1 (2 items)