I am working on automatic deployment + azure. I am at the point where I am adding the ssl certificate to the website. Does anyone know how to use PowerShell to upload an SSL certificate to a website using the PowerShell command (Add-Get-Set based command)? I can add a certificate to the cloud service using ...
New-AzureService $Program -Location 'East US'
Add-AzureCertificate -Password Cert123! -ServiceName $Program -CertToDeploy $CertLocation
but I don’t know how to add it to the azure website.
thank
edit: I found a way using the following command, but I do not want to install additional libraries on my machine for deployment.
azure site cert add -k Cert123! $CertLocation $Program
source
share