Azure 计算模拟器中的 SSL 证书不匹配
我的 Azure 应用程序在一个 Web 角色中包含 4 个站点(通过主机标头区分)。我将网站设置为通过 SSL 运行。我颁发了 2 个自签名证书:1 个作为安装到受信任根 CA 存储中的 CA 和 1 个通配符 SSL 证书(使用第一个证书颁发)。
应用程序运行,但我在 Azure 计算模拟器中收到证书错误“地址不匹配”。我检查了不匹配的证书,发现它不是服务配置中指定的证书。我进入 IIS 管理控制台并检查了绑定 - 没有为我的网站设置证书。因此,我在站点绑定中手动设置通配符证书。但在浏览器中我仍然有不匹配的证书,仍然是 127.0.0.1 的证书(与 DevFabric 一起提供)。如何使 IIS 返回为站点配置的正确证书?
(我在 Silverlight 应用程序使用的网站中有一些服务,当用户强制手动确认证书时,它不起作用。)
谢谢!
I have Azure app containing 4 sites in a single web role (differentiated by host headers). I setup the sites to run over SSL. I issued 2 self signed certificates: 1 as CA installed into Trusted Root CAs store and 1 wildcard SSL certificate (issued using the first one).
The application runs, however I'm getting certificate error 'Mismatched address' in Azure Compute Emulator. I examined the mismatched certificate and found out it is not the one specified in service configuration. I went into IIS management console and checked the bindings - there was no cert set for my sites. So I setup the wildcard certificate manually in the site bindings. But in browser I still have mismatched certificate, still the one for 127.0.0.1 (comming with DevFabric). How can I make the IIS to return the correct certificate configured for the site?
(I have some services in the web sites consumed by Silverlight application and it does not work when there is forced manual confirmation of the certificate by user.)
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您确定确实使用 https://127.0.0.1 而不是使用 https://本地主机?
Are you sure that you really access the service using https://127.0.0.1 and not using https://localhost?