How to programatically apply an existing SSL certificate to an Azure web app
问题 I'm using the Azure Fluent Management API to automate our deployment process. Up until now, I've had minimal problems. We have SSL certificates already uploaded into Azure and can manually bind them to a web site through the Azure portal. But I can't find a mechanism for doing this programmatically. The closest I can find is below and in the documentation here. webApp.Update() .DefineSslBinding() .ForHostname(domainName) .WithPfxCertificateToUpload(pfxFile, password) .WithSniBasedSsl()