Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Could not establish trust relationship for the SSL/TLS secure channel. #5

Open
jakerobinson opened this Issue · 1 comment

1 participant

@jakerobinson

When I try to run

Connect-vcloud "https://server.domain.com/api/..." -org my-org
-username abcd -password "efgh"

I get the error

The underlying connection was closed: Could not establish trust relationship for
the SSL/TLS secure channel.

@jakerobinson

Possible fix is to add the following line of code to the .ps1 file:

[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.