k8Studio icon indicating copy to clipboard operation
k8Studio copied to clipboard

Self Signed Certificate Error - Opening a Cluster

Open Scoobed opened this issue 1 year ago • 3 comments

In a corp environment, seeing a Self Signed Certificate Error when accessing them

App Version 0.2.3-alpha Arch: x64 Platform: darwin osRelease: 21.6.0 Locale: en-US

[2024-01-22 12:37:04.041] [info] Loading Cluster my-cluster-name [2024-01-22 12:37:04.250] [error] self signed certificate in certificate chain [2024-01-22 12:37:04.251] [error] self signed certificate in certificate chain [2024-01-22 12:37:04.252] [error] Error Loading cluster self signed certificate in certificate chain

Is there way to put it in more of debug mode on what certificate it thinks is in the chain and our corp root CA is not in Keychain Access trusted System Keychains -> System Roots -- Roots , it is under System Keychains -- System

When accessing a cluster with the kubectl command it works

Scoobed avatar Jan 22 '24 20:01 Scoobed

Hi @Scoobed, Can I know if you are using a proxy to connect?

mo-othman avatar Jan 23 '24 03:01 mo-othman

Similar issue with certificates.

[2024-01-24 13:30:42.362] [info] Selecting Cluster cluster-2 [2024-01-24 13:30:42.366] [info] Loading Cluster cluster-2 [2024-01-24 13:30:42.671] [error] unable to get issuer certificate [2024-01-24 13:30:42.674] [error] unable to get issuer certificate

roadbikemike avatar Jan 24 '24 18:01 roadbikemike

I checked my configuration. My terminal where kubectl is running does not have the PROXY enabled

Scoobed avatar Jan 25 '24 18:01 Scoobed