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.
690 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,901 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ryan Hill 28,631 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


  2. Frank Sagayno 0 Reputation points
    2024-07-03T18:53:33.74+00:00

    I know this answer is late but this may benefit others. The certificate issued to *.mydomain.com cannot be use to *.dev.mydomain.com, *.stage.mydomain.com, and *.test.mydomain.com . You need to add these in the SAN. Example, you cannot use it to dev.stage.mydoman.com, finance.stage.mydomain.com and finance.test.mydomain.com. However you can craft it to dev-finance.mydomain.com, stage-finance.mydomain.com and test-finance.mydomain.com inorder to use the certificate issued to *.mydomain.com. I think you got the idea. :) .

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.