openssl s_client -connect <NODE_IP>:10258 < /dev/null 2>/dev/null | openssl x509 -text -noout | grep "Not After"TKG 2.5.2
Rotate the certificate must be rotated by forcefully restarting the CCM pods.This triggers the initialization logic to issue a new certificate with 365 days validity.
Note: This is a safe operation that only briefly pauses vCenter infrastructure synchronization.
kubectl rollout restart daemonset vsphere-cloud-controller-manager -n kube-system
kubectl get pods -n kube-system -l component=cloud-controller-manageropenssl s_client -connect <NODE_IP>:10258 < /dev/null 2>/dev/null | openssl x509 -text -noout | grep "Not After"