Skip to content

Commit

Permalink
fix: do not reject unauthorized by default (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Jun 1, 2020
1 parent 72795c9 commit 3c296d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/classes/HttpsProxyAgent.js
Expand Up @@ -29,6 +29,8 @@ class HttpsProxyAgent extends Agent {

socket.once('data', () => {
const secureSocket = tls.connect({
rejectUnauthorized: false,
servername: configuration.host,
... configuration.tls,
socket,
});
Expand Down

0 comments on commit 3c296d3

Please sign in to comment.