Lens Desktop Login error behing corporate certificate

Hi,

After upgrade lens-desktop(i had a personal old subscription and I have been forced to update) i can’t do login to Lens ID.

warn:    ▪ [LENS-CLUSTER-STATUS]: isLensCloudStatusOk returns false +2s
error:   ▪ [TOKEN-REFRESHER]: Network status check failed for https://app.k8slens.dev/auth/realms/lensCloud/protocol/openid-connect/certs +3s
error:   ▪ [TOKEN-REFRESHER]: Network status check failed for https://app.k8slens.dev/auth/realms/lensCloud/protocol/openid-connect/certs +5s
error:   ▪ [TOKEN-REFRESHER]: Network status check failed for https://app.k8slens.dev/auth/realms/lensCloud/protocol/openid-connect/certs +5s
error:   ▪ [TOKEN-REFRESHER]: Network status check failed for https://app.k8slens.dev/auth/realms/lensCloud/protocol/openid-connect/certs +5s
[LENS-PLATFORM-EXTENSION-SDK]: isLensCloudStatusOk:false, error: RequestError: self signed certificate in certificate chain
    at ClientRequest.<anonymous> (/opt/Lens/resources/app.asar/node_modules/got/dist/source/core/index.js:970:111)
    at Object.onceWrapper (node:events:633:26)
    at ClientRequest.emit (node:events:530:35)
    at origin.emit (/opt/Lens/resources/app.asar/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
    at emitErrorEvent (node:_http_client:104:11)
    at TLSSocket.socketErrorListener (node:_http_client:518:5)
    at TLSSocket.emit (node:events:518:28)
    at emitErrorNT (node:internal/streams/destroy:170:8)
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
    at TLSSocket.onConnectSecure (node:_tls_wrap:1679:34)
    at TLSSocket.emit (node:events:518:28)
    at TLSSocket._finishInit (node:_tls_wrap:1078:8)
    at ssl.onhandshakedone (node:_tls_wrap:864:12) {
  code: 'SELF_SIGNED_CERT_IN_CHAIN',

I have Ubuntu 24.03, and i can do a correctly curl to https://app.k8slens.dev/auth/realms/lensCloud/protocol/openid-connect/certs

How can i add a corporate certificate to lens-desktop to use it?

Hello @dmartos,

Thank you for reaching out to Lens Forum!

I’ll let the dev team about your issue. Please stand by for further updates.

Best Regards,
Tikhon Kudinov
Lens Support Engineer
Mirantis, Inc