Hi I have a PHP application installed in the Azure web app, in that application users can add there own domain as cname alias custom domains through submission of a form which already implemented, what I need is the option to bind Azure App managed SSL certificate to that custom domain so the customers can access the website in https, I am looking for a REST API for this functionality is it possible to automate this feature.
1 Answers
1
votes
I've listed below the REST APIs you can use:
- https://docs.microsoft.com/en-us/rest/api/appservice/certificates/createorupdate to create the app service certificate.
- https://docs.microsoft.com/en-us/rest/api/appservice/domains/createorupdate to create the domain.
- https://docs.microsoft.com/en-us/rest/api/appservice/webapps/createorupdatedomainownershipidentifier to assign the domain to the app service.