How to upload ssl certificate to Azure Web App?

Currently I’m doing this manually if by some reason it got deleted. Is there to automate this step as well?

Hi Alexander,

Thanks for getting in touch. I did some research and apparently its not possible to programatically add certificates at a subscription level in azure:

To use a certificate in Azure, it must be uploaded to Azure. Management and service certificates can be uploaded through the Microsoft Azure Management Portal. 
Service certificates can also be uploaded to Management Portal using Add Service Certificate in the Service Management REST API Reference.

That indicates that only service-level certificates can be added using the REST API


This should be a step that you only have to do once though. But I do understand your concern, and I must say I’m surprised that Microsoft didn’t add an API endpoint or a Powershell Cmdlet to automate this process.

Best regards,