down voteaccepted
|
Cheap and insecure answer: Add
in code, before calling A more secure way (the solution above makes the whole node process insecure) is answered in this question |
https://*.com/questions/20433287/node-js-request-cert-has-expired#answer-29397100