Replacing SSL certificate on multiple instances RRS feed

  • Question

  • I have a scenario where we have many SSRS instances installed on a single server (up to 50 instances).  The SSL certificate used for all these instances is expiring soon and it needs to be upgraded.  

    I am trying to automate this process using powershell and the WMI provider.  I am looping through each instance and application and calling RemoveSSLCertificateBindings but I get the error:

    An SSL binding already exists for the specified IP address and port combination.  The existing binding uses a different certificate from the current request. Only one certificate can be used for each IP address and port combination. To correct the problem, either use the same certificate as the existing binding, or remove the existing SSL binding and create a new binding using the certificate of the current request.

    I have run netsh http show sslcert and can confirm that the binding I am trying to remove is indeed the only binding.

    What am I doing wrong?

    Wednesday, September 14, 2016 7:34 AM