SSL cert binding using ARM templates

DHAVAL R PATEL 46 Reputation points
2020-05-20T06:08:01.987+00:00

I am getting error while binding SSL cert to a custom domain from ARM template as part of Azure web app deployment pipeline. First time the binding works as expected but next deployment, the ARM tries to create another copy of cert in same resource group and throws following error.

Another certificate exists with same thumbprint xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx at location xxxxx in the Resource Group RG-xxxx.

The similar functionality works as expected using CLI. Any idea folks?

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

1 answer

Sort by: Most helpful
  1. Yutang Lin 86 Reputation points Microsoft Employee
    2020-05-20T18:44:19.96+00:00

    We have a blog post that addresses common errors and the one you're asking about is on it. Hope this article helps.