Hi, In this situation the recommended way is to add your custom certificate by defining the environment variable NODE_EXTRA_CA_CERTS to specify the path to the certificate.
NODE_EXTRA_CA_CERTS
See this post or this one for similar questions.