Skip to content

App Service Managed Certificates error #5006

Answered by brwilkinson
jnus asked this question in Q&A
Discussion options

You must be logged in to vote

To summarize this thread/discussion.

You can deploy a free Certificate for your web app as documented here:
https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate#create-a-free-managed-certificate

The steps are:

  1. deploy dns record
  2. deploy website
  3. deploy custom binding without sni (have an if statement on this stage to set to disabled after the initial deployment)
  4. deploy cert
  5. deploy custom binding with sni and thumbprint

Example here:
I updated this: https://github.com/brwilkinson/AzureDeploymentFramework/blob/main/ADF/bicep/x.appService.bicep#L66

Since step 3 and 5 share the same resource type, using a module to call it twice.
added this: https://github.com/brwilkins…

Replies: 10 comments 63 replies

Comment options

You must be logged in to vote
6 replies
@jnus
Comment options

@brwilkinson
Comment options

@brwilkinson
Comment options

@jnus
Comment options

@brwilkinson
Comment options

Comment options

You must be logged in to vote
1 reply
@brwilkinson
Comment options

Comment options

You must be logged in to vote
2 replies
@brwilkinson
Comment options

@brwilkinson
Comment options

Comment options

You must be logged in to vote
12 replies
@jnus
Comment options

@brwilkinson
Comment options

@jnus
Comment options

@brwilkinson
Comment options

@jnus
Comment options

Comment options

You must be logged in to vote
19 replies
@brwilkinson
Comment options

@brwilkinson
Comment options

@jnus
Comment options

@brwilkinson
Comment options

@maskati
Comment options

Comment options

You must be logged in to vote
5 replies
@jnus
Comment options

@brwilkinson
Comment options

@Jcparkyn
Comment options

@brwilkinson
Comment options

@Jcparkyn
Comment options

Answer selected by brwilkinson
Comment options

You must be logged in to vote
17 replies
@centur
Comment options

@brwilkinson
Comment options

@brwilkinson
Comment options

@centur
Comment options

@brwilkinson
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jeru81
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants