Succulent (Collin)S
Windmill2y ago
8 replies
Succulent (Collin)

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?
Was this page helpful?