With approximately every other release I’m receiving the error “Failed to enumerate SSL bindings, error code 234.”. If I try again a failed release it will work most of the times. Since it works sometimes, I now that the setup is correct but what could be the cause of this random failure?
Octopus.Features.IISWebSite_BeforePostDeploy.ps1
Finding SSL certificate with thumbprint 458dbf44ac09226b913b49e88b4720b0aceaa4b1 Info 10:01:49
Found certificate: CN= Error 10:01:50
ForEach-Object : Cannot retrieve the dynamic parameters for the cmdlet. Failed Error 10:01:50
to enumerate SSL bindings, error code 234. Error 10:01:50
At C:\Octopus\Applications.Tentacle\Octopus.Tentacle\2.3.3.1369\Scripts\Octopu Error 10:01:50
s.Features.IISWebSite_BeforePostDeploy.ps1:52 char:72 Error 10:01:50
- $wsbindings | where-object { $_.protocol -eq “https” } | foreach-object <<<< Error 10:01:50
{ Error 10:01:50- CategoryInfo : InvalidArgument: ( [ForEach-Object], Parameter Error 10:01:50
BindingException Error 10:01:50 - FullyQualifiedErrorId : GetDynamicParametersException,Microsoft.PowerShe Error 10:01:50
ll.Commands.ForEachObjectCommand Fatal 10:01:50
PowerShell script returned a non-zero exit code: 1
- CategoryInfo : InvalidArgument: ( [ForEach-Object], Parameter Error 10:01:50