Unable to access any Cluster in Lens

I am unable to access clusters in Lens app also in kubectl

Error in Lens
E1012 17:07:19.455257 19416 proxy_server.go:147] Error while proxying request: tls: failed to parse certificate from server: x509: certificate contains duplicate extensions

Failed to get /version for clusterId=46ceb81bc271510e64a6c69e32eaa734: Internal Server Error

E1012 17:07:50.003954 19416 proxy_server.go:147] Error while proxying request: tls: failed to parse certificate from server: x509: certificate contains duplicate extensions

Error in Powerhsell while running kubectl command

Unable to connect to the server: tls: failed to parse certificate from server: x509: certificate contains duplicate extensions

Since kubectl also has the error, it’s not an issue in Lens.

1 Like

Can you suggest any solution? as to what could be the reason for this error ?