error trying to connect: invalid certificate: UnknownIssuer
ibicdev opened this issue ยท 6 comments
I'm getting error trying to connect: invalid certificate: UnknownIssuer
when llm-vscode is configured to use a self-hosted TGI endpoint. Is there a way to disable certificate checking or take the environment variable REQUESTS_CA_BUNDLE
?
This "works" but would much rather it honored NODE_EXTRA_CA_CERTS
or REQUESTS_CA_BUNDLE
like most other node or Python tooling. This allows you to leave TLS verification on but check against an expanded set of known certs.
The request isn't made by a node or python process. Feel free to open an issue or even better a PR in https://github.com/huggingface/llm-ls :)
@McPatate thanks for the prompt reply! Is it correct to say that the request to the model API happens in this language server (llm-ls), and specifically in Rust using the reqwest
library?
Yes correct!