As part of renewing our cluster certificate we have accidentally deleted our "tls-rancher-ingress secret" from local cluster, after that we are unable to access cluster through kubectl and getting error like "Getting Unable to connect to the server: x509: certificate is valid for ingress.local, not rancher",please guide us if there is any way to add the secret again without using kubectl?
Asked
Active
Viewed 3,445 times
0
-
1Try using `kubectl ... --insecure-skip-tls-verify`. And let me know it this solves it – Matt Feb 24 '21 at 11:09
-
1Thankyou, we resolved this issue after adding decoded certificate to kubeconfig – pavan kumar Feb 24 '21 at 16:43
-
Can you post the steps you have followed to resolve the issue as an answer and accept it. – Venkata Satya Karthik Varun Ku Nov 17 '21 at 12:20