Skip to content
Discussion options

You must be logged in to vote

I think this is more of a Node thing. You should be able to point the environment variable NODE_EXTRA_CA_CERTS to your system cert bundle (/etc/ssl/certs/ca-certificates.crt or something like that probably) or to just your self-signed certificate (make sure it is the full chain though).

There might also be a way to tell Node to use system certs via NODE_OPTIONS but I have not tried it.

VS Code has code to add system certificates (which I believe is supposed to run by default) but it has never worked for me unfortunately, probably some kind of bug there.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by robin-weiland
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants