VMware Cloud Community
SCharchouf
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
SCharchouf
Hot Shot
Hot Shot

6.5 sorry      

Reply
0 Kudos
LucD
Leadership
Leadership

Have a look at KB2147469 and check if that helps.


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

Reply
0 Kudos