K8s cluster certificate renew for 30 years

Hi Team,

We have four node Kubernetes cluster with version 1.23.5 and OS Ubuntu 22.04. By default cluster different certificates are expired after one years and ca certificates are expired after 10 years. We want to renew our certificates for 30 years. Please help us how we can achieve this.

Cluster information:

Kubernetes version: 1.23.5
Cloud being used: bare-metal
Installation method: Kubeadm
Host OS: Ubuntu 22.04
CNI and version: Calico and 0.3.1
CRI and version: Docker and 24.0.4

Any one please help.

Thanks in advance.

Anupam

Any update from any one.

Anupam