Trouble Connecting to Self-Hosted Instance Using CLI

Hello I have an instance hosted on AKS and I am trying to activate git integration on a workspace, but when I try to add the workspace using the following command I get an error:
wmill workspace add test-workspace test-workspace https://windmill.northshore.io/ ? How do you want to login >> Token ? Enter your token >> <TOKEN PASTED HERE>
! Credentials or instance is invalid. Aborting. error: Uncaught (in promise) TypeError: error sending request for url (https://windmill.northshore.io/api/workspaces/exists): error trying to connect: invalid peer certificate: UnknownIssuer return await fetch(url, request); ^ at async mainFetch (ext:deno_fetch/26_fetch.js:170:12) at async fetch (ext:deno_fetch/26_fetch.js:391:7) at async sendRequest (https://deno.land/x/windmill@v1.226.1/windmill-api/core/request.ts:219:12) at async https://deno.land/x/windmill@v1.226.1/windmill-api/core/request.ts:289:34 I have tried using the browser to login as well as a token, but the result is the same. Do I need to reconfigure my SSL Certificate?
7 Replies
rubenf
rubenf13mo ago
No description
Succulent (Collin)
Succulent (Collin)OP13mo ago
Thank you for pointing this out, I missed it. I tried adding DENO_TLS_CA_STORE=system to my windmill-app deployment but I'm getting the same issue, not sure if that's where it needs to go.
rubenf
rubenf13mo ago
it's locally that you need to set that
Succulent (Collin)
Succulent (Collin)OP13mo ago
Oh I see
rubenf
rubenf13mo ago
it's your CLI that need to be configured with it
Succulent (Collin)
Succulent (Collin)OP13mo ago
Hmm that didn't work either I installed and configured the certificate using azure's application routing add-on, which displays the app just fine.

Did you find this page helpful?