changes-stream
changes-stream copied to clipboard
The HTTP option Reject Unauthorized is always set to "true"
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