Description
Feature Request
Consider certificates referenced by NODE_EXTRA_CA_CERTS
Impacted Code
typed-rest-client/lib/HttpClient.ts
Lines 124 to 142 in c99dbbe
A check for the env variable should probably happen around here. I'm not sure if it would be better to have the ICertConfiguration options merge with anything found in the environment variable or just overwrite the environment variable in favor of the supplied certs.
Use Case
As the node PR explains, self-signed certs are commonly used in closed environments.
My organization has recently encountered this problem with several TFS extensions. Using the environment variable solved the problem when extensions were using node HTTP clients, but there are a few extensions that use this library and do not surface a way for us to provide certs example from NuGetToolGetter
I'm happy to take a stab at it if desired.