客户的VCSA虚拟机启动后,发现vmware-updatemgr服务无法启动,查看updatemgr的日志,报“unable to update CM service info”的信息,如下所示:
同时,在vCenter中的vSAN管理界面也无法打开,报“com.vmware.vim.vmomi.core.exception.CertificateValidationException: Server certificate chain is not trusted and thumbprint doesn’t match”,如下图所示:
使用网上搜索到的文章Update manager missing vcenter 6.5. vmware-updatemgr does not start提供的脚本 Script to check and fix SSL trust achors检查证书的情况,发现两个Endpoint的证书已过期:
按照KB 82332描述的方法查看证书的过期时间,都正常,但是还是尝试使用Certificate Manager更新了所有证书,问题没有解决。
参考KB 2121701描述的方法(比较复杂),提取旧证书中的指纹,然后更新到新证书,但是问题依旧。
最后,使用lsdoctor工具(详情请参考KB 80469)纠正了lookup服务中的SLL信任不匹配的问题,之后vmware-updatemgr服务和vCenter的vSAN管理界面都恢复了正常。
参考:
Update manager missing vcenter 6.5. vmware-updatemgr does not start
Script to check and fix SSL trust achors
Verify and resolve expired vCenter Server certificates using command line (82332)
How to use vSphere Certificate Manager to Replace SSL Certificates (2097936)
Using the ‘lsdoctor’ Tool (80469)
Error when uploading files to vCenter Server Appliance using WinSCP (2107727)