-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a way to trust root CA certs other than turning off SSL #3918
Comments
Actually the way is clear:
https://code.visualstudio.com/docs/setup/network#_ssl-certificates Why not adding those certs to your machine's cert store? |
Thanks, @joaomoreno. I have the certs in my machine's cert store. I still see SSL errors when loading extensions
It looks like the bash script |
Oh. The There is no current workaround afaik. Maybe @chrmarti would know more. |
Related: #986 |
Continuing in #2987. |
The work-around is setting Instead of toggling this with the settings file it should work with any CAs if you pull the global /root/.npmrc from the docker container. If it has a |
Currently the only way to run VSCode within a corporate network which uses SSL proxying is to disable SSL entirely. For example, with ZScaler I need to set
"http.proxyStrictSSL": false
. This is okay as a short-term work-around but not acceptable for general use.Also, this doesn't seem to work for extensions or within a dev container. The container is configured to trust the CA certs, but it looks like VSCode pulls in host system CAs when installing extensions in the container. This is partially fixed by setting
"http.systemCertificates": true
as discussed here.Please implement a setting to configure additional root CA certs. Maybe a setting to specify a cert which would then be loaded via something like this?
The text was updated successfully, but these errors were encountered: