question

anuraj avatar image
anuraj asked ·

Is API support available for creating App Service Managed Certificates using the Microsoft.Azure.Management.AppService.Fluent

I am building a SAAS application running on Azure App Service. For provisioning custom tenants with Subdomains I am using the App Microsoft.Azure.Management.AppService.Fluent C# API. For provisioning SSL certificates, I was using App Service Managed Certificates manually via Portal. As part of automating it, is there an API available for provisioning App Service Managed Certificates?

azure-webapps
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ryanchill avatar image
ryanchill answered ·

Hi @anuraj,

There isn't API support available just yet. The team is working towards that goal. However, there is a current workaround for using a powershell command, see https://github.com/Azure/azure-powershell/issues/10518. Now I realize powershell isn't the best option; however, perhaps https://docs.microsoft.com/en-us/archive/blogs/kebab/executing-powershell-scripts-from-c will give some ideas on how to execute your powershell from your SaaS.

Furthermore, you should be made aware that app service managed certificates do not support wildcard domains as noted in https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate#create-a-free-certificate-preview.

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ryanchill

Thank you for the detailed response. Let me check the options and will get back to you.

1 Vote 1 · ·