Search code examples
azuresslazure-web-app-service

Do I need a wildcard SSL certificate for subdomains in Azure?


In our Azure subscription, we have three applications: dev.myapp.com, test.myapp.com, prod.myapp.com (www.myapp.com, myapp.com).

Previously, I just purchased a wildcard certificate, and then converted it to PFX format and uploaded it.

But I see now that I can get an SSL certificate directly from Azure, and save a bit of hassle. But I am wondering if I buy an S1 certificate, if I can use it with my subdomains, or if I need to buy the wildcard (which is quite expensive compared to getting it from another source).

I assume I need the wildcard and would just like to confirm.


Solution

  • sheamus,

    I can confirm you'll have to buy a W1 Wild Card certificate: *.myapp.com.

    A S1 Standard certificate will only cover your domain myapp.com (Upon submission the certificate will also be approved for www.myapp.com).

    Also you can refer to the following Azure documentation:

    Purchase, Store and Assign an SSL Certificate for your custom domain

    If you need to secure multiple domain names, such as contoso.com, www.contoso.com, and mail.contoso.com, then you can get a wildcard certificate