windows - Assigning a UCC Cert to multiple domains that all reside on a single Dedicated Server via IIS?
问题描述
So here's the scenario: I bought a UCC through GoDaddy. We host multiple web applications on a dedicated server which I access via RDP. UCC is meant to give you the ability to assign the same cert to multiple domains (GoDaddy told us 10). I added the domains to the UCC via GoDaddy's dashboard, then downloaded and installed the cert on the server.
Defining the Domains on GoDaddy
However, when attempting to assign the cert to each web app in IIS, a few things happen. 1) It warns me when I try to assign the cert to more than 1 application, 2) The "Host Name" field is greyed out when editing the site bindings, and 3) Once I assign the cert to the 2nd website, all traffic starts redirecting to the website I first assigned the cert to.
Here you see the Host Name Grey Out
Does anyone know how to accomplish what I want?
解决方案
您似乎在 IIS 7.5 或更低版本中应用了非通配符证书。如果您正在应用没有通配符公用名的证书,IIS 将显示主机名字段。
要解决此问题,请应用具有通配符通用名称的有效证书或升级您的操作系统。
或者你可以用命令行试试这个
推荐阅读
- sqlite - 房间数据库迁移失败:ALTER TABLE 添加多列
- android - Android:上传图像位图后从 Firestorage 获取下载 URL
- c++ - 如何在c ++中反转字符串的子字符串?
- ubuntu - 由于未满足的依赖关系,无法在 Ubuntu 18 上安装 PHP7.2-dev
- java - 获取文件的 MIME 类型
- java - FileNotFound 异常但文件存在
- symfony - 当我使用注解路由类型和子目录时,为什么 Symfony 会生成 2 个路由?
- unix - 比较 2 行,如果匹配则打印列号,如果不匹配则打印 NULL
- c# - 无法使用 SpeechSynthesizer.SelectVoice() 方法选择声音
- java - 如何在 java 中将 {a=2 ,b=5} 形式的字符串转换为 {"a":2 , "b":5} 形式的 JSON?