After configuring IIS so that our SharePoint (Topology) Web Service is bound to a SSL certificate, we have successfully tested it in a load balancing scenario. However, we are finding that the binding's are being lost each day or night - it seems to happen once a day. When I go back into IIS, the SSL Certificate is selected as 'Not selected'. Sometimes setting the value back in IIS does not stick and a powershell command is required to add it (again) successfully, such as below.
Import-Module WebAdministration
(Get-WebBinding -Name "SharePoint Web Services" -Protocol https).RemoveSslCertificate()
(Get-WebBinding -Name "SharePoint Web Services" -Protocol https).AddSslCertificate($certHash, "MY")
We are now considering running this PowerShell script in an hourly timer job if we can't resolve this issue. Any ideas?
thumbprint from 1st Service App box
#$certHash = "E4716ABDDD338D30BC17DF09B7B94F542B56F509"
thumbprint from 2nd Service App box
#$certHash = "631471069B1D22B8A5607E497EC7B6B3DDCCFFC3"