Azure Web App中的根证书和中间证书安装?

Iva*_*tev 7 powershell azure ssl-certificate pfx azure-web-sites

我有一个Azure Web App,它与第三方API通信,后者使用OAuth 1.0a或类似的,并且作为其中一部分需要SSL证书.我需要使用提供的SSL证书带有自己的证书链(根证书,中间证书和SSL证书).

我已将证书链导出到.pfx文件,并将其上载到Azure预览门户中的SSL证书部分,并WEBSITE_LOAD_CERTIFICATES *在应用程序设置中使用.

问题是root和临时证书不会被导入.这是预期的行为,我该如何解决?或者这是Azure Web Apps不支持的内容吗?

编辑:

我导出证书链的方式是使用PowerShell:

Export-PfxCertificate -Force 
                      -ChainOption BuildChain
                      –Cert cert:\localmachine\my\#mythumbprint# 
                      –FilePath c:\temp\myexport.pfx 
                      -Password $(ConvertTo-SecureString -String "password" -Force –AsPlainText)
Run Code Online (Sandbox Code Playgroud)

the*_*een 3

这不是预期的行为。根据此博客文章,假设您的证书是在特定日期后上传的,则应自动导入和配置中间证书和链证书: http://azure.microsoft.com/blog/2015/06/01/intermediate-tls-certificates -for-azure-app-service-web-apps/

(如果仍然无法正常工作,则可能表明存在底层平台问题,在这种情况下,最好的方法是在官方 Azure 应用服务 MSDN 论坛上发帖。)