IIS 8 HTTPS/Require SSL 导致超时错误 [英] IIS 8 HTTPS/Require SSL causes timeout error

查看:51
本文介绍了IIS 8 HTTPS/Require SSL 导致超时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试通过 IIS 8 通过 SSL 发布网站,但出现超时错误.任何帮助表示赞赏.

Trying to publish a website via IIS 8 over SSL, but got time out errors. Any help is appreciated.

采取的步骤:

  1. 验证该网站可以通过 HTTP 访问(http://xxx.xxx.xxx.xxx 有效 - 如果重要,此时使用 IP 地址)
  2. IIS > 服务器证书 > 创建自签名证书,类型 = 虚拟主机
  3. IIS > 默认网站 > 绑定 > HTTPS = 443,主机名 = ,Certificate = <上一步的那个>
  4. IIS > SSL 设置 > 需要 SSL = 已检查,客户端证书 = 忽略
  5. IIS > 默认网站 > 权限 > 确保 IIS_IUSRS 具有读取/执行/列出权限
  6. IIS > 默认网站 > 重启
  1. Verified the website can be visited via HTTP (http://xxx.xxx.xxx.xxx works - Using IP address at this moment if that matters)
  2. IIS > Server certificate > Create self-signed certificate, type = Web Hosting
  3. IIS > Default website > Bindings > HTTPS = 443, Host name = <blank>, Certificate = <The one from the previous step>
  4. IIS > SSL settings > Require SSL = Checked, Client certificate = Ignore
  5. IIS > Default website > Permissions > Made sure IIS_IUSRS have read/execute/list permissions
  6. IIS > Default website > Restart

结果:

  • 来自客户端的 HTTPS 请求 (https://xxx.xxx.xxx.xxx) 返回错误此网页不可用"/ERR_CONNECTION_TIMED_OUT (Chrome) 或此页面可以"t 被显示" (IE)

  • HTTPS requests from clients (https://xxx.xxx.xxx.xxx) return error "This webpage is not available"/ERR_CONNECTION_TIMED_OUT (Chrome) or "This page can’t be displayed" (IE)

来自服务器本身的 HTTPS 请求 (https://xxx.xxx.xxx.xxx) 返回与上述相同的错误

HTTPS requests from the server itself (https://xxx.xxx.xxx.xxx) return the same error as above

使用来自服务器本身的 localhost (https://localhost) 的 HTTPS 请求在接受有关证书的警告后成功

HTTPS request using localhost from the sever itself (https://localhost) succeeds after accepting warnings about the certificate

在此先感谢您的帮助.

推荐答案

检查主机中的端口 443.此端口在某些托管服务提供商中默认关闭.例如,在 Amazon EC2 中,您必须更改安全组"设置以添加HTTPS"

Check port 443 in your host. This port is closed by default in some hosting providers. For example, in Amazon EC2 you must change "Security Group" settings to add "HTTPS"

这篇关于IIS 8 HTTPS/Require SSL 导致超时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆