App Service Certificate - Remove Subject Alternative Name

Phil Eddies 1 Reputation point
2020-04-02T21:52:58.43+00:00

Hi,

When you create an App Service Certificate two Subject Alternative Name's are created on the certificate. For example you create a certificate for mydomain.com and there will be the Subject Alternative Name's mydomain.com and www.mydomain.com.

This is normally desirable as the certificate will be valid for the www and non-www URL's. However I have registered a certificate for a specific application rather than a website application.mydomain.com so my certificate has the Subject Alternative Name's application.mydomain.com and www.application.mydomain.com

I would like to remove the www. SAN. One because I don't need it to be there and it is causing me issues with my application.

I have found that most places where you can buy a similar certificate will allow you to add/remove SAN's and rekey the certificate. But I can't find out if/how this is possible with Azure's certificates. For example here are Godaddy's steps to do what I am after https://uk.godaddy.com/help/add-or-drop-subject-alternative-names-from-my-ucc-certificates-4649

Thanks
Phil

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,876 questions
{count} votes