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.
8 Replies
<#1289148002795130880>
Category
Bug report
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
The problem seems to be fixed by adding the following environment variable in windows:
NODE_TLS_REJECT_UNAUTHORIZED: 0
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
here is the issue
https://github.com/coder/vscode-coder/issues/151
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?
hello @Phorcys, i will send you a detailed reply tomorrow cause its my office laptop.
thanks!
sorry, i meant monday. wish you a nice weekend
@Phorcys done
thanks