Skip to content
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

How do I make this work with NODE_EXTRA_CA_CERTS? #545

Closed
tillig opened this issue Aug 30, 2023 · 4 comments
Closed

How do I make this work with NODE_EXTRA_CA_CERTS? #545

tillig opened this issue Aug 30, 2023 · 4 comments
Labels
Area: VsCodeExtension question Further information is requested triage

Comments

@tillig
Copy link

tillig commented Aug 30, 2023

We have some pretty awesome security software that does this man-in-the-middle-attack TLS interception where it decrypts and re-encrypts all TLS traffic.

For Node apps, I've been able to add the environment variable NODE_EXTRA_CA_CERTS and point it to the security software certificate.

It doesn't seem that this obeys that construct. I started trying to dig down into the request-light repo but didn't see it in there, either. I wasn't sure if this was something that should be built into Node or what. I filed an issue there for the same thing.

@winstliu
Copy link
Member

winstliu commented Sep 1, 2023

Huh. What functionality are you seeing where it's failing? I do see this package makes use of request-light, but I don't believe any of that code is actually being used (this package was originally forked from Red Hat's general-purpose YAML server, which does make HTTP requests).

@tillig
Copy link
Author

tillig commented Sep 2, 2023

When I try to use Intelligence, the language server attempts to download the Azure pipeline schema from GitHub so it can validate and provide the feature. The error I see indicates the schema can't be downloaded due to a certificate issue... which is always due to this awesome security software.

@winstliu winstliu transferred this issue from microsoft/azure-pipelines-language-server Sep 5, 2023
@winstliu
Copy link
Member

winstliu commented Sep 5, 2023

Gotcha - transferred to the client extension, as that's what actually does the schema downloading. This uses azure-devops-node-api which in turn uses https://github.com/microsoft/typed-rest-client - maybe that has a setting to help you.

@winstliu winstliu added the question Further information is requested label Sep 5, 2023
@winstliu
Copy link
Member

winstliu commented Oct 2, 2024

Closing - I don't think this is something we can control.

@winstliu winstliu closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: VsCodeExtension question Further information is requested triage
Projects
None yet
Development

No branches or pull requests

2 participants