Highlighted
Hot Shot
Hot Shot

Get-EsxCli Could not establish secure channel for SSL/TLS with authority

despite that I'm adding the below to my script, I have always the error message : Get-EsxCli Could not establish secure channel for SSL/TLS with authority

[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls,[System.Net.SecurityProtocolType]::Tls11,[System.Net.SecurityProtocolType]::Tls12

Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false

has anyone encountered this kind of problem?

21 Replies
Highlighted
Hot Shot
Hot Shot

6.5 sorry      

0 Kudos
Highlighted
User Moderator
User Moderator

Have a look at KB2147469 and check if that helps.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos