SSL cert binding using ARM templates

DHAVAL R PATEL 46 Reputation points

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.
4,929 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yutang Lin 86 Reputation points Microsoft Employee

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