Use VMware VSphere powercli to connect to Vcenter Server, which is joined to the domain, and uses the default certificate to execute the
Connect-viserver <team_vCenter_Server_system_FQDN> "See the following warning!
1:57:08 AM connecting to VI Server
Warning:there were one or more problems with the server certificate:
* A certification chain processed correctly, but terminated in A root
Certificate which isn ' t trusted by the trust provider.
Certificate: [Subject]
[email protected], cn=foo.example.com, ou= "VMware, Inc.", O= "VMware, Inc."
[Issuer]
[email protected], cn=foo.example.com, ou= "VMware, Inc.", O= "VMware, Inc."
[Serial number]
C49018ff
[Not before]
5/18/2012 9:20:09 AM
[Not after]
5/16/2022 9:20:09 AM
[Thumbprint]
Aaa9e2d164e7258d0bf2841173ae46034c097fff
The server certificate is not valid.
Warning:the DEFAULT BEHAVIOR upon INVALID SERVER CERTIFICATE would change in A
Future RELEASE. To ensure scripts is not affected by the
Set-powercliconfiguration to set a value for the Invalidcertificateaction
Option.
This is because the new version of VMware VSphere POWERCLI limits the use of default SSL.
Workaround: Run "POWERCLI" with administrator privileges, and if it is win2008/7/8/2012, right-click the administrator to run
execute &NBSP;
Http://www.vmware.com/support/developer/PowerCLI/PowerCLI51/html/Set-PowerCLIConfiguration.html
This article is from the "Technology Collection" blog, so be sure to keep this source http://weili163.blog.51cto.com/228292/1708518
POWERCLI: "Warning:there were one or more problems with the server certificate"