Recommand · October 14, 2021 0

Get certificate error once trying to connect kops cluster

I get following error while trying to connect to k8s cluster:

Unable to connect to the server: x509: certificate is not valid for any names, but wanted to match <cluster-elb>

cluster: kops
cloud: aws
state store: s3

Can someone point what should I check or why I get this error?

Thanks.