Serving-cert on AKS Cluster has expired


We are managing AKS Cluster using the Rancher and it was working fine until today. We are getting the below error

2021/04/08 11:59:27 [INFO] Waiting for server to become available: Get x509: certificate has expired or is not yet valid
2021-04-08 11:59:27.634535 I | http: TLS handshake error from remote error: tls: bad certificate

I have found that serving-cert has expired on the kube-system namespace. I have used below commands to verify that.

$ kubectl -n kube-system get secrets serving-cert -o yaml
$ echo -n LS0tLS1CRUdJTiBFQyB******| base64 -d > serving-cert-tls.crt
$ openssl x509 -enddate -noout -in serving-cert-tls.crt
notAfter=Apr 7 13:24:25 2021 GMT

This cluster was created manually on the Azure and then imported on to the Rancher.
Rancher Version - v2.4.2 (9afe68b83)

Could you please help me to rotate the keys?

Did you find a solution ?`Same problem here… at least everything is still running.

I did not find any solution.

maybe someone answers there