The request module could check the certifications or not for TLS connections. It seems that in this part of the exercise the cert is validated in the TLS connection. Adding the variable NODE_TLS_REJECT_UNAUTHORIZED(1), that validation is skipped and then it runs successfully
This PR fixes the #633 issue.
The
request
module could check the certifications or not for TLS connections. It seems that in this part of the exercise the cert is validated in the TLS connection. Adding the variableNODE_TLS_REJECT_UNAUTHORIZED
(1), that validation is skipped and then it runs successfully1 - NODE_TLS_REJECT_UNAUTHORIZED