Используйте CA Certifcate Node JS
$ export NODE_EXTRA_CA_CERTS=[your CA certificate file path]
Disturbed Duck
$ export NODE_EXTRA_CA_CERTS=[your CA certificate file path]