Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you add a certificate to an app service? #347

Closed
youngcm2 opened this issue Aug 29, 2019 · 2 comments
Closed

How do you add a certificate to an app service? #347

youngcm2 opened this issue Aug 29, 2019 · 2 comments

Comments

@youngcm2
Copy link

youngcm2 commented Aug 29, 2019

Here is what we use in the azure cli.
upload
az webapp config ssl upload --certificate-file="$cert_path" --certificate-password=XXXXXXX --name=XXXXXXX --resource-group XXXXXXXX

bind
az webapp config ssl bind --certificate-thumbprint XXXXXXXX --name XXXXXXXX --resource-group XXXXXXXX --ssl-type "SNI"

@pgavlin
Copy link
Member

pgavlin commented Aug 29, 2019

The upstream Terraform provider does not yet support SSL certificates with App Service. The bug that tracks adding that support is here: hashicorp/terraform-provider-azurerm#1136

It looks like a fix for that issue is imminent, so I would expect support for SSL certs to be added soon. In the meantime, you could try implementing a dynamic provider to manage the certs for your app service.

@pgavlin
Copy link
Member

pgavlin commented Aug 29, 2019

(we will use the upstream issue to track adding this support)

@pgavlin pgavlin closed this as completed Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants