VMware Cloud Community
mpr4ul
Contributor
Contributor

Power CLI 6.3 vCenter connection failing ...

Using Power CLI 6.3, connection failing to vCenter with username and password.

System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

   at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)


Did anyone faced similar issue. ...


How we can download certificate from vCenter using username and password ?

0 Kudos
1 Reply
LucD
Leadership
Leadership

Did you already look at the sample code in C# Sample Code by Task ?

And the vSphere SDK for .NET Developer’s Guide ?

Your development questions might have a better chance getting answered in one of the VMware Developer forums


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

0 Kudos