I had this error recently and you DON'T HAVE TO DISABLE SSL.
The right way to fix it is to add the certificate path to the ENV variable `NODE_EXTRA_CA_CERTS`.
This way, Node'll use it and boom, problem solved ;)