码迷,mamicode.com
首页 > 其他好文 > 详细

PowerCLI: “WARNING: There were one or more problems with the server certificate”

时间:2015-11-01 19:37:15      阅读:209      评论:0      收藏:0      [点我收藏+]

标签:problems   server   chain   主机   证书   

使用“VMware vSphere PowerCLI”连接vCenter Server,该主机加入到 域内,并且使用 默认 证书,执行“

Connect-Viserver <team_vCenter_Server_system_FQDN>” 见出现如下警告!


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]

E=support@vmware.com, CN=foo.example.com, OU="VMware, Inc.", O="VMware, Inc."


[Issuer]

E=support@vmware.com, 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 WILL CHANGE IN A

FUTURE RELEASE. To ensure scripts are not affected by the change, use

Set-PowerCLIConfiguration to set a value for the InvalidCertificateAction

option.



这是因为新版的VMware vSphere PowerCLI 对使用默认SSL的限制。


解决办法:使用管理员权限运行“PowerCLI”,如果是WIN2008/7/8/2012,右键使用管理员运行


执行 set-PowerCLIConfiguration -invalidCertificateAction "ignore" -confirm:$false


http://www.vmware.com/support/developer/PowerCLI/PowerCLI51/html/Set-PowerCLIConfiguration.html

本文出自 “技术收藏” 博客,请务必保留此出处http://weili163.blog.51cto.com/228292/1708518

PowerCLI: “WARNING: There were one or more problems with the server certificate”

标签:problems   server   chain   主机   证书   

原文地址:http://weili163.blog.51cto.com/228292/1708518

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!