1
votes

I'm having an issue importing a new certificate to my App Service. When I try to import the certificate, the SSL Settings blade is replaced by a blank blade. enter image description here

I'm not sure about the state of the certificate. I went through the Certificate Configuration steps, but I think the status of the certificate should be Ready not Issued.

Is there a way to assign the certificate to the App Service though PowerShell and bypass the Portal?

1
Is the SSL Settings blade still blank? I see your listed certificate is in the issued state. Usually, you can select it and upload the ASC certificate into your Web App directly. - Nancy Xiong

1 Answers

1
votes

Try to use powershell New-AzureRmWebAppSSLBinding to bind a certificate to a Web App.

Bind a certificate existing on azure to a web app:

New-AzureRmWebAppSSLBinding -ResourceGroupName "ContosoResourceGroup" -WebAppName "ContosoWebApp" -Thumbprint "E3A38EBA60CAA1C162785A2E1C44A15AD450199C3" -Name "www.contoso.com"

Upload a certificate and bind it to a web app:

New-AzureRmWebAppSSLBinding -ResourceGroupName "ContosoResourceGroup" -WebAppName "ContosoWebApp" -CertificateFilePath "PathToPfxFile" -CertificatePassword "PlainTextPwd" -Name "www.contoso.com"