Change or create SAN for certificate on Azure

Anonymous
2021-11-11T14:59:45.14+00:00

I bought a wildcard certificate on Azure for my projects * .mydomain.com. I need the certificate to work with my resources. Resources are of the form * .dev.mydomain.com * .stage.mydomain.com * .test.mydomain.com. As I understand it, I need to add a subject alternative name (SAN) to the certificate. How can i do this? Is it possible to add or change a SAN for a certificate on Azure?

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
600 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,962 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 26,146 Reputation points Microsoft Employee
    2021-11-17T19:00:20.517+00:00

    Hi @Anonymous ,

    Since your certificate is a wildcard, you don't need to use a SAN for each of your app services. If you're using Azure for DNS, all you need to do is add the CNAME records for your app service, validate, and then bind your wildcard cert to it. Bada-bing bada-boom. But do let me know if you have any issues with a comment below. Also, apologies for getting a response days after.

    ref: https://learn.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-domain?tabs=wildcard