Creation of App Service Managed Certificate via REST api restarts app service instance

Mikkel Christensen 1 Reputation point
2020-08-14T18:25:44.06+00:00

I am using the REST api to create a (free) managed cert and then add a hostname binding for the domain to my app service instance. This ends up restarting my app service.

Is there a way to avoid that restart?

This does not happen when I use the REST api to upload a PFX file with a cert - and the restart is not needed as the managed cert is not distributed to the CurrentUser\My store on the server nodes anyway.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
9,010 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 23,385 Reputation points Volunteer Moderator
    2023-09-24T18:21:57.56+00:00

    When you add a hostname binding for a managed certificate to your Azure App Service, it often requires a restart of the underlying service to apply the certificate and hostnames correctly. This behavior is typically not seen when uploading a PFX file because the certificate is directly imported and applied without a restart.

    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.