在IIS 7上的IISRESET上丢失所有网站上的SSL证书绑定 [英] Losing SSL certificate binding on all websites upon IISRESET on IIS 7
问题描述
我需要一些真正证明困难的问题的指导。 每次我做iisreset时,我的ssl证书都会失去对所有网站的绑定。 我
有3个网站,它们都在相同的IP和相同的端口443上运行并共享一个共同的证书,即
的中间证书 hbt.ca 域。它支持以下3个域
I need some guidance on an issue that is really proving difficult. Everytime I do an iisreset my ssl certificate loses its binding to all websites. I have 3 web sites and they all running on the same IP and same port 443 and sharing one common certificate which is an intermediate certificate for hbt.ca domain. It support following 3 domains
www.hbt.ca,apps.hbt.ca,board.hbt.ca
我正在尝试向站点添加主机头和ssl证书。 我尝试过使用以下内容:
netsh http add sslcert ipport = xxx.xxx.xxx.22:443 certhash = af9842b0ac1f99ef382d59e6f28b7e273b6eadbc appid = {4dc3e181-e14b-4a21-b022-59fc669b0914}
appcmd.exe set config -section:system.applicationHost / sites / +" [name ='SharePoint管理中心v3']。绑定。[protocol ='https',bindingInformation ='xxx.xxx.xxx.22:443:testQA']" ; / commit:apphost
当我运行netsh http show sslcert时,它显示证书已绑定。 此外,当我查看iis并查看此网站的绑定时,
显示它已被绑定。 每次我执行IISRESET时,绑定都会丢失。 当我查看绑定时,没有与该网站相关联的ssl证书。 我必须点击下拉列表并选择一个或netsh http add sslcert命令。
ssl将保持相关状态,直到我再次进行iisreset。
非常感谢!
推荐答案
嗨Javed,
Hi Javed,
请按照以下步骤操作
1. 停止所有IIS服务。该命令是 "iisreset / stop"
1. Stop all the IIS services. the command is "iisreset /stop"
2。添加证书绑定。
3。启动IIS服务。 "iisreset / start"
3. Start the IIS services. "iisreset /start"
http://support.microsoft.com/kb/286196 ,我在IIS 7上也看到了这一点。让我知道它是怎么回事。
http://support.microsoft.com/kb/286196, I have seen this on IIS 7 too. Let me know how it goes.
问候,
kaushal
这篇关于在IIS 7上的IISRESET上丢失所有网站上的SSL证书绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!