Issue: Only seen after updating to Windows 10 1903
Vcenter Version: 5.5
Win 10x64 Ent 1903 + PowerCLI 11.3 and 11.4 + VCenter 5.5 - Certificate Error. When connecting with Powershell Script.
Script Line worked in 1803 and 1809 (but not in 1903)…
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false
Can you try adding the following to your script?
Your PS wants to use Tls12, while 5.5 probably is not configured for it.
This says that PS should also accept TLS1
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Ssl3,Tls,Tls11,Tls12'
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Can you try adding the following to your script?
Your PS wants to use Tls12, while 5.5 probably is not configured for it.
This says that PS should also accept TLS1
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Ssl3,Tls,Tls11,Tls12'
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference