microsoft / azure-repos-vscode

Azure Repos extension for VS Code
Other
663 stars 450 forks source link

Azure Repos extension disables TLS certificate validation in VS Code #605

Closed ggirard07 closed 3 years ago

ggirard07 commented 4 years ago

Looks like you have the same kind of issue as https://github.com/shanalikhan/code-settings-sync/issues/776

Right now, you have a dependency on an old version of vso-node-api (v5.1.2), which explicitly disable TLS verification by setting NODE_TLS_REJECT_UNAUTHORIZED env variable to 0.

Since then, this code has been moved to a dedicated npm package, typed-rest-client. This new package has also fixed this issue in the meantime