Unable to verify first certificate

Hello, In our setup we use self signed certificates. Accessing the web-ui works fine and also workspaces are built as well. The issue is when we try to authenticate with the vs-code plugin, we receive the error from the image. Even if we select the insecure option the error persists. Attached you can see the settings we use.
No description
No description
8 Replies
Codercord
Codercord4w ago
<#1289148002795130880>
Category
Bug report
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
anubis
anubis4w ago
The problem seems to be fixed by adding the following environment variable in windows: NODE_TLS_REJECT_UNAUTHORIZED: 0
Phorcys
Phorcys4w ago
hi @anubis, thanks for the info, i have reopened an issue to see if we can fix this. could you provide us with the following info? - VSCode channel (stable/insiders/etc) - VSCode version - Windows version - Coder extension version
Phorcys
Phorcys4w ago
GitHub
"Allow insecure" option does not work · Issue #151 · coder/vscode-c...
For some reason, when we set this inside VS Code, it just does nothing. It works in tests so the code is correct, but maybe VS Code does some shenanigans with the http/s modules?
anubis
anubis4w ago
hello @Phorcys, i will send you a detailed reply tomorrow cause its my office laptop.
Phorcys
Phorcys4w ago
thanks!
anubis
anubis4w ago
sorry, i meant monday. wish you a nice weekend @Phorcys done
Phorcys
Phorcys4w ago
thanks
Want results from more Discord servers?
Add your server