【发布时间】:2016-08-04 08:51:33
【问题描述】:
Microsoft Azure 云服务有一个 Web 角色,在服务定义中定义如下:
<ServiceDefinition name="Magic" schemaVersion="" xmlns="[WHATEVER]">
<WebRole name="MagicRole">
<Sites>
<Site name="Web" >
<Bindings>
<Binding name="HttpIn" endpointName="HttpIn" />
<Binding name="HttpsIn" endpointName="HttpsIn" />
</Bindings>
</Site>
</Sites>
<Endpoints>
<InputEndpoint name="HttpIn" protocol="http" port="80" />
<InputEndpoint name="HttpsIn" protocol="https"
port="443" certificate="ServiceCert"/>
</Endpoints>
<Certificates>
<Certificate name="ServiceCert"
storeLocation="LocalMachine" storeName="My" />
</Certificates>
</WebRole>
</ServiceDefinition>
该服务几个月来一直运行良好。最近,用户在建立与服务的 SSL 连接时开始报告一些晦涩难懂的问题。
iOS 上的 Safari 报告说它无法验证服务器身份,cURL 报告说它无法获得本地颁发者证书和第三方 SSL 验证工具,例如据报道this 和this 表示证书安装不正确。
问题没有被一致地重现。有时请求会成功,有时会失败。第三方工具有时会报告服务配置正确,有时会报告其配置错误。
在用户开始报告这些问题之前的两周内,服务中没有任何变化。
什么可能导致这个问题?
【问题讨论】:
标签: azure ssl iis curl azure-web-roles