diff --git a/src/classes/HttpsProxyAgent.js b/src/classes/HttpsProxyAgent.js index 727a809c..fbe0d79e 100644 --- a/src/classes/HttpsProxyAgent.js +++ b/src/classes/HttpsProxyAgent.js @@ -29,6 +29,8 @@ class HttpsProxyAgent extends Agent { socket.once('data', () => { const secureSocket = tls.connect({ + rejectUnauthorized: false, + servername: configuration.host, ... configuration.tls, socket, });