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

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

--

--

--

AWS Certified Solution Architect, 5+ yrs hands on exp on AWS Services. Preparing for AWS Security Speciality.

Love podcasts or audiobooks? Learn on the go with our new app.

CS 373: Week of 2/22

Python and Physics: Lorenz and Rossler Systems

What are types of cloud computing?

My First Summer Semester at Northeastern (Computer Science)

PSYCHEDELICS | MENTAL HEALTH

Why I chose Juno College

How to Configure the webserver on Amazon EC2 instance using AWS CLI

How to use Passport with Laravel Modules (nwidart)

Modularity with Security

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Chetan Bothra

Chetan Bothra

AWS Certified Solution Architect, 5+ yrs hands on exp on AWS Services. Preparing for AWS Security Speciality.

More from Medium

Running Minio as a pod in Kubernetes

Self-Hosted Kubernetes Cluster with Rancher in AWS cloud

VM monitoring using Node Exporter, Prometheus and Grafana

Deploy to DigitalOcean Kubernetes using Nginx Ingress controller with a Helm chart