I have some WebServices C# code that used to switch off the vCenter Server advanced setting client.VerifySLLCertificates (set to false) then use the .AddStandaloneHost_Task to add a host. This was against vSphere4 and worked no problem.
Now trying to do the same thing with 5.1, except that due to SSO, client.VerifySLLCertificates is set to true and greyed out. Using UpdateOptions to try to set this to false fails. Trying to add a host using .AddStandaloneHost_Task fails with SSLVerifyFault.
So how do I add a host now!? I dont want to go through replacing certificates at the point of setting up the infrastructure.
The PowerCLI equivilent command seems to have a force flag but need to get this done in in C# WebServices.
Basically need code equivalent of ticking the checkbox in the GUI when adding a host to say you verify the thumbprint.
All pointers gratefully received!
SF.