guiqui / k8Studio

K8Studio: A Kubernetes IDE
https://k8studio.io
Other
794 stars 25 forks source link

Self Signed Certificate Error - Opening a Cluster #64

Open Scoobed opened 7 months ago

Scoobed commented 7 months ago

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

mo-othman commented 7 months ago

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

roadbikemike commented 7 months ago

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

Scoobed commented 7 months ago

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