https.globalagent.options.ca code example Example: use ca certifcate node js $ export NODE_EXTRA_CA_CERTS=[your CA certificate file path]