Enable the usage of DPI Certs #7543
-
|
I have a docker container as part of a coder workspace. The whole server is behind a firewall that uses DPI (not my decision), and clients need to have the right certificate to not freak out about self-signed certs.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I think this is more of a Node thing. You should be able to point the environment variable There might also be a way to tell Node to use system certs via 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. |
Beta Was this translation helpful? Give feedback.
-
|
Apologies for the late reply. I had already tried the |
Beta Was this translation helpful? Give feedback.
I think this is more of a Node thing. You should be able to point the environment variable
NODE_EXTRA_CA_CERTSto your system cert bundle (/etc/ssl/certs/ca-certificates.crtor 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_OPTIONSbut 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.