Azure SSL Certificate

烂漫一生 提交于 2019-12-02 06:11:02

问题


I am running into an issue when uploading my SSL certificate to Azure. I have a premium certificate from GoDaddy that has been running in IIS for the past year. As we are migrating to Azure, I exported it to a PFX, went to Azure to add it to my Web App, and received the following error message:

Failed to update web app settings
Failed to update web app settings for [APP_NAME]: The password is incorrect, or the certificate is not valid

I have tried the following:

  • Ensure password is correct
  • Export from IIS as pfx
  • Export from MMC as pfx with full paths available

They all have the same results with the error message. Does anyone have any ideas?


回答1:


So I got the certificate uploaded. The new Azure portal failed, so for a long shot, I tried the old portal which uploaded it without any issues.

Hopefully this helps someone else out in the future.




回答2:


I had a similar issue using the "https://portal.azure.com" trying the approach "App Service - "your app service" - ssl certificates - upload certificate"

When I tried to upload a certificate PFX file nothing happend, no error message, nothing.

The workaround I found was to re-generate the PFX file using openssl and this time add a short and simple password.

"openssl pkcs12 -export -out certificate.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem"

Hope this helps



来源:https://stackoverflow.com/questions/29952874/azure-ssl-certificate

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!