本文介绍了Https请求在Windows Azure中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个asp.net网站,该网站托管在Windows Azure上.该应用程序运行良好.我已经在Windows Azure的IIS中配置了自签名证书.我还配置了IIS绑定以使用https(端口443).但是,现在我的网站无法使用https.

I have an asp.net website which is hosted on windows azure. The application is working very fine. I have configure self-signed certificates in IIS of windows azure. I have also configured the IIS bindings to use https(port 443). But, now my website is not working with https.

注意:我也没有看到有关无效证书的任何屏幕.浏览器显示找不到该网站.

Note: I am also not seeing any screen about invalid certificates. The browser says the site not found.

推荐答案

您是否已配置使用该证书的HTTPS IN输入端点?如果您只是在Azure Web Role实例中的IIS上配置了自签名证书,则它将永远无法使用.由于您的服务定义未配置HTTPS终结点,因此负载均衡器将不会将任何https流量路由到您的实例.

Did you configure HTTPS IN Input endpoint with that certificate? If you just configured the self signed cert on the IIS in Azure Web Role instances, it will never work. Because your service definition has no HTTPS endpoint configured, thus the load balancer will not route any https traffic to your instances.

您可以阅读此博客文章,以了解Windows Azure网络的工作原理.

You may read this blog post, to get to know how Windows Azure Networking works.

这篇关于Https请求在Windows Azure中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 17:43