Kubernetes certificate issue

I having kubernetes cluster ver 1.23, i updated the certificate using cli and restarted kubernetes component but still i am getting certificate expired error. I checked certificate validity as well there is it showing updated validity. Does anyone know about this issue and reason?
error:- certificate has expired or is not yet valid

Which certificate? There are several. Have you checked that it is not the certificate stored in your kubeconfig file that is expired? Assuming you did this with kubeadm tool on the control plane node, then it should have created a new admin.conf in /etc/kubernetes directory (check it’s last write time with ls command to verify). Try replacing your ~/.kube/config file with that file