Hi,
I have vSphere 6.5 installed in my lab, and I am able to login to vSphere client via IE and perform all actions allowed for my username.
However when I try to connect to the same vCenter using same credentials via VMware PowerCLI 6.5.1 build 5377412, I am getting the following error:
Can you please help me understand what is the reason for this?
Thanks,
Umesh
Can you do a Get-PowerCLIConfiguration and check what the settings for InvalidCertificateAction are?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi LucD,
I have set it to ignore:
Regards,
Umesh
Can you try running the following line be3fore doing the Connect-VIServer?
PowerShell by default uses TLS 1.0
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi LucD,
I tried, but its the same result 😞
Is there a way which version of TLS the server uses and which version my PowerShell console is using ?
Thanks,
Umesh
For the vCenter you use the tool described in vSphere and TLS 1.2
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference