changes-stream icon indicating copy to clipboard operation
changes-stream copied to clipboard

The HTTP option Reject Unauthorized is always set to "true"

Open selcuksert opened this issue 6 years ago • 0 comments

The HTTP option Reject Unauthorized is always set to true regardless of values set for options strictSSL and rejectUnauthorized due to following code snippet: this.rejectUnauthorized = options.strictSSL || options.rejectUnauthorized || true;

This turns out to be a problem for npm Enterprise (npm/policy-follower) that depends on changes-stream package when using an SSL interceptor even Reject Unauthorized option for npm Enterprise is set to false: changes-stream error: self signed certificate in certificate chain

selcuksert avatar Mar 14 '18 05:03 selcuksert