在之前很多客户遇到过证书到期无法登陆的时候,使用certificate-manager更新证书,参考:解决vCenter6.x由于证书过期问题无法登录,第二章第7节,本次继续采用该方式更新证书。 1、查询证书: for i in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list); do echo STORE $i; /usr/lib/vmware-vmafd/bin/vecs-cl...
日期排查 foriin$(/usr/lib/vmware-vmafd/bin/vecs-cli store list);doechoSTORE$i;/usr/lib/vmware-vmafd/bin/vecs-cli entry list--store$i--text|egrep"Alias|Not After";done 证书重置 /usr/lib/vmware-vmca/bin/certificate-manager 停止并重启所有服务 service-control--stop--allservice-control--...
for store in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list | grep -v TRUSTED_ROOT_CRLS); do echo "[*] Store :" $store; /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $store --text | grep -ie "Alias" -ie "Not After";done; 1. 如果已确认是证书引发的问题,最简单...
Linux /usr/lib/vmware-vmafd/bin/vecs-cli # /usr/lib/vmware-vmafd/bin/vecs-cli store list 得到如下结果: MACHINE_SSL_CERT TRUSTED_ROOTS TRUSTED_ROOT_CRLS machine vsphere-webclient vpxd vpxd-extension APPLMGMT_PASSWORD data-encipherment SMS # /usr/lib/vmware-vmafd/bin/vecs-cli entry list --...
启动vSphere Certificate Manager。 对于vCenter Server 6.x Appliance: /usr/lib/vmware-vmca/bin/certificate-manager 对于Windows vCenter Server 6.x: C:\Program Files\VMware\vCenter Server\vmcad\certificate-manager 选择8或4,执行功能相同 根据VMCA 的提示,输入以下项的值: ...
YYYY-MM-DDTHH:MM:SS INFO certificate-manager Serial number before replacement: <old serial number> YYYY-MM-DDTHH:MM:SS INFO certificate-manager Serial number after replacement: <new serial number> YYYY-MM-DDTHH:MM:SS INFO certificate-manager Thumbprint before replacement: <old certificate thumbprint...
/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store vsphere-webclient --text | less 发现SSL证书过期 2020年至2022.10.29日过期(淦) 使用以下命令重新更新证书 /usr/lib/vmware-vmca/bin/certificate-manager 我这里直接选择了第8,后面根据提示下一步就行了。
fori in $(/usr/lib/vmware-vmafd/bin/vecs-cli storelist);doechoSTORE$i;/usr/lib/vmware-vmafd/bin/vecs-cli entrylist--store$i--text|egrep"Alias|Not After";done 重置除data-encipherment其他证书 windows目录 "C:\Program Files\VMware\vCenter Server\vmcad\certificate-manager" ...
Service-control failed. Error Failed to start vmon services.vmon-cli RC=1, stderr=Failed to start vapi-endpoint services. Error: Operation timed out. The vSphere Web Client fails with the error: A server error occurred. [500] SSO error: null ...
10. To bind the trusted SSL certificate to each of the three services issue the commands below in the same command prompt Window as above. Note that “updateService” is CASE SENSITIVE. cd /d C:\Program Files\VMware\Infrastructure\SSOServer\ssolscli ...