Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IIS 网站 HTTP 访问正常,HTTPS 无法访问 #118

Closed
Dream4ever opened this issue Dec 24, 2020 · 0 comments
Closed

IIS 网站 HTTP 访问正常,HTTPS 无法访问 #118

Dream4ever opened this issue Dec 24, 2020 · 0 comments
Labels
Server The invisible hero Software About installation ande usage

Comments

@Dream4ever
Copy link
Owner

解决过程

给 IIS 中的网站开启 HTTPS 的整体流程,参照 07. Windows Server 2012 网站启用 HTTPS 这篇文档,其中有两点要注意:

  1. 给 IIS 默认创建的网站添加 SSL 证书时,需要服务器名称指示 这一项 不要 选中。
  2. 给自己创建的网站添加 SSL 证书时,需要服务器名称指示 这一项 不要 选中。

只有按照这样设置,自己创建的网站才能顺利地用 HTTPS 协议访问。

@Dream4ever Dream4ever added Software About installation ande usage Server The invisible hero labels Dec 24, 2020
@Dream4ever Dream4ever changed the title IIS 网站 HTTPS 无法访问 IIS 网站 HTTP 访问正常,HTTPS 无法访问 Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Server The invisible hero Software About installation ande usage
Projects
None yet
Development

No branches or pull requests

1 participant