global-agent icon indicating copy to clipboard operation
global-agent copied to clipboard

Add Certificat

Open Arnaud-Dev-Nodejs opened this issue 5 years ago • 1 comments

Problem: add Ca, cert and Key to the Https.Agent

How can we add TLS certificat to the Agent with bootstrap() ?

NodeJS: 12.16.0

Arnaud-Dev-Nodejs avatar Oct 30 '20 03:10 Arnaud-Dev-Nodejs

I am also facing same problem. I want to set 'connectionConfiguration.tls.ca' in Agent.js (of global-agent) to 'https.globalAgent.options.ca' or atleast somehow set Agent's own options (this.options.ca) should be used to set connectionConfiguration.tls.ca in case configuration do not contain's ca property. Any update on this please? This seems to be very common problem, how are other peoples handling it?

vipendra-mehra avatar Apr 28 '21 07:04 vipendra-mehra