Hi, I need some guidance on an issue that is really proving difficult. Everytime I do an iisreset my ssl certificate loses its binding to a particular website. I have 4 other web sites on the same machine and they are all fine.
I am trying to add a host header and ssl certificate to a site. I have tried using the following:
appcmd.exe set config -section:system.applicationHost/sites /+"[name='SharePoint Central Administration v3'].bindings.[protocol='https',bindingInformation='xxx.xxx.xxx.22:443:testQA']" /commit:apphost
When I run netsh http show sslcert it shows that the certificate has been bound. Also when I look at iis and look at the bindings of this web site it shows it has been bound. Every time I do an IISRESET the binding is lost. When I go look at bindings
there is no ssl certificate associated with the site. I have to hit the drop down list and choose one. That ssl will stay associated fine until I do an iisreset again.
Can anyone help please?
Is there anyway I can get some logging going to possibly identify some error that is causing the ssl certificate to be unbound? Has anyone had this happen to them before?
What does the applicationHost.config look like before and after an iisreset? Are the bindings gone? I personally never used netsh http add sslcert command.
andyarellano...
1 Post
binding ssl certificate to iis site
Aug 31, 2010 02:25 AM|LINK
Hi, I need some guidance on an issue that is really proving difficult. Everytime I do an iisreset my ssl certificate loses its binding to a particular website. I have 4 other web sites on the same machine and they are all fine.
I am trying to add a host header and ssl certificate to a site. I have tried using the following:
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 Central Administration v3'].bindings.[protocol='https',bindingInformation='xxx.xxx.xxx.22:443:testQA']" /commit:apphost
When I run netsh http show sslcert it shows that the certificate has been bound. Also when I look at iis and look at the bindings of this web site it shows it has been bound. Every time I do an IISRESET the binding is lost. When I go look at bindings there is no ssl certificate associated with the site. I have to hit the drop down list and choose one. That ssl will stay associated fine until I do an iisreset again.
Can anyone help please?
Is there anyway I can get some logging going to possibly identify some error that is causing the ssl certificate to be unbound? Has anyone had this happen to them before?
Thanks to you all for taking a look!
steve schofi...
5681 Posts
MVP
Moderator
Re: binding ssl certificate to iis site
Aug 31, 2010 10:02 AM|LINK
What does the applicationHost.config look like before and after an iisreset? Are the bindings gone? I personally never used netsh http add sslcert command.
Steve Schofield
Windows Server MVP - IIS
http://iislogs.com/steveschofield
http://www.IISLogs.com
Log archival solution
Install, Configure, Forget