“x509: certificate signed by unknown authority” with Kubernetes [solved]

Chetan Bothra
May 3, 2022

--

How to solve

  1. run `gcloud container clusters get-credentials sample-cluster --zone=us-central1-f in your kubernates cluster or in your local ( if u have access)
  2. then view cat ~/.kube/config
  3. you will then see a big certificate with the label as certficate-authority-date . Copy that value
  4. Convert into base64 using https://www.base64decode.org/
  5. Add the output in your gitlab

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Chetan Bothra
Chetan Bothra

Written by Chetan Bothra

AWS Certified | GCP | DevOps | SRE | Docker | DevSecOps | Kubernetes | Automation | Terraform | Serverless | Blockchain

No responses yet

Write a response