-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
cannot send client certificate to the endpoint while using the proxy #25
Comments
🎉 This issue has been resolved in version 2.1.9 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Cannot find where the original comment thread is, but removing |
Hi again But it seems to be another issue wirh the I'm writing another PR to fix that. |
=> #27 |
Hi.
We have an nodejs application that need to authenticate to an API endpoint with a SSL client certificate.
For that need, we inject tls.connect() options such as
key
andcert
to the request options, as documented here : https://nodejs.org/docs/latest-v12.x/api/https.html#https_https_request_url_options_callbackIt works like expected without proxy, but while using a proxy with global-agent lib, these options are not propagated to the final request.
We should add these attributes within
createConnection
method here to fix that: https://github.com/gajus/global-agent/blob/master/src/classes/HttpsProxyAgent.js#L31The text was updated successfully, but these errors were encountered: