Closed svennergr closed 3 years ago
The rejectUnauthorized property is fixed to true if it is not set. This will not respect the setting of the NODE_TLS_REJECT_UNAUTHORIZED environment variable.
rejectUnauthorized
true
NODE_TLS_REJECT_UNAUTHORIZED
https://github.com/npm/minipass-fetch/blob/bbb9132459bb1157244542a4df8b50f9cdca5330/lib/request.js#L84
Fixed by #12
The
rejectUnauthorized
property is fixed totrue
if it is not set. This will not respect the setting of theNODE_TLS_REJECT_UNAUTHORIZED
environment variable.https://github.com/npm/minipass-fetch/blob/bbb9132459bb1157244542a4df8b50f9cdca5330/lib/request.js#L84