Hey Guys,
I use the PowerCLI in version 10.1.0
I would like to Connect to the CisServer on up to 20 vCenters (all version 6.5 U1).
On each connection I use the administrator@vsphere.local
The connect fails on a few vcenters (the credentials are correct) with the following errormessage:
Connect-CisServer Error sending request
+ Connect-CisServer vcenterserver01
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-CisServer], CisException
+ FullyQualifiedErrorId : VMware.VimAutomation.Cis.Core.Impl.V1.Service.CisConnectionService.SessionCanNotBeCreated, VMware.VimAutomation.Cis.Core.Commands.Cmdlets.ConnectCisServer
There is no firewall between my client and the vcenter server.
Has anyone a clue why it doesn´t work?
Thanks,
Max
To set the InvalidCertificateAction to "ignore" made it!
So -Force isn´t required using Connect-CisServer.
Thanks for the hint Luc!
All these vCenters have valid certificates?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi Luc,
the ones where the connect is working have valid certificates.
the ones where the connec isn´t working have selfsigned certificates by the default installation.
Is a valid certificate a requirement for the cmdlet?
Is there a way so Ignore the "invalid" certificate like
That should work for Connect-CisServer as well afaik.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Else try adding the Force switch to the Connect-CisServer cmdlet.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
To set the InvalidCertificateAction to "ignore" made it!
So -Force isn´t required using Connect-CisServer.
Thanks for the hint Luc!