Home > database >  UNABLE_TO_VERIFY_LEAF_SIGNATURE k8s Javascript client
UNABLE_TO_VERIFY_LEAF_SIGNATURE k8s Javascript client

Time:12-02

I am trying to programmatically connect to my AWS EKS cluster using the official error

CodePudding user response:

The error message is complaining that it does not know the cluster's certificate issuer.
Your cluster object needs one of the following properties to specify the certificate authority:

  • caFile: Filename containing the certificate authority
  • caData: Base64-encoded contents of the certificate authority file

According to the AWS documentation, you should be able to retrieve the certificate authority as "the certificateAuthority.data that was created for your cluster".

  • Related