ssl - 如何为 IIS 6 创建自签名通配符 SSL 证书?

标签 ssl iis-6 wildcard self-signed

我正在尝试创建一个自签名通配符 SSL 证书,用于许多运行 IIS 6 的开发和测试服务器。遵循各种指南已经找到了几种生成证书的方法,但我还没有祝你好运。我用过的最成功的方法是遵循 this OpenSSL guide并像这样使用 makecert.exe:

makecert.exe -r -b 01/01/2009 -e 01/01/2042 -sr LocalMachine -ss MY -a sha1 -n CN="*.example.com" -sky exchange -pe -eku 1.3.6.1.5.5.7.3.1 -sy 12 -sp "Microsoft RSA SChannel Cryptographic Provider" wildcard.cer

两者都生成 IIS 6 接受的证书,但是当我实际尝试查看该站点时,我在 firefox 中收到以下错误:

Data Transfer Interrupted

The connection to dev.example.com was interrupted while the page was loading.

IE 只是给出:

Internet Explorer cannot display the webpage

Most likely causes:

  • You are not connected to the Internet.
  • The website is encountering problems.
  • There might be a typing error in the address.

无论是通过域名、机器名、localhost、本地ip还是loopback ip访问都会出现这个错误。

那么...我如何创建 IIS 6 可以使用的自签名通配符证书?或者我如何解决我已经创建的问题所遇到的问题?

最佳答案

您可以使用 MS 提供的 IIS 6 资源工具包,这是一个名为 SelfSSL 的命令行应用程序。它可以生成 SSL key 并将其导入到您的 IIS 安装中。

IIS 6 Resource Kit

关于ssl - 如何为 IIS 6 创建自签名通配符 SSL 证书?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/474609/

相关文章:

Solr:对带空格的字符串使用通配符

android - retrofit 请求不适用于 Lollipop 之前的设备

mongodb - 在没有证书的情况下在 mongodb 副本集中启用 ssl

asp.net - Firefox 在 IIS6 上启用摘要式身份验证的每个 HTTP 请求上都要求输入用户名/密码

asp.net - 如何确定 ASP.NET 站点 (IIS) 上的用户数量?他们的信息呢?

asp.net - 重新发布代码时,global.asax中的Application_Start事件是否触发?

elasticsearch - 带有空格的 Elastic Search 通配符搜索

bash脚本: wildcard expression is not processed as expected

c++ - QuickFix C++ 如何打开 SSL?

python - 从服务器 python 发送电子邮件