POWERCLI: "Warning:there were one or more problems with the server certificate"

Source: Internet
Author: User

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"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.