How can I add a SAN to the Kubernetes API certificate? | Nutanix Community
Skip to main content
Solved

How can I add a SAN to the Kubernetes API certificate?

  • October 26, 2021
  • 1 reply
  • 319 views

Forum|alt.badge.img

Having deployed a new Kubernetes cluster with Karbon and downloaded the kubeconfig, kubectl operations result in an error:

Unable to connect to the server: x509: certificate is valid for cluster.local, kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster, kubernetes.default.svc.cluster.local, cluster.local, not xxxxx

 

What is the recommended way to add a SAN to the Karbon Kubernetes API certificate?

Best answer by JoseNutanix

Hi Igor,

At this time you can use SNI when creating a cluster via the API. https://www.nutanix.dev/reference/karbon/api-reference/cluster/createk8scluster/

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

1 reply

JoseNutanix
Nutanix Employee
Forum|alt.badge.img+5
  • Nutanix Employee
  • 150 replies
  • Answer
  • October 27, 2021

Hi Igor,

At this time you can use SNI when creating a cluster via the API. https://www.nutanix.dev/reference/karbon/api-reference/cluster/createk8scluster/