My work just recently implemented a zscaler proxy.
I have been trying to work through a forge tunnel which mostly works, except for requestJira commands. They always fail with an “unable to get local issuer certificate” error, similar to Error: request to https://api.atlassian.com/graphql failed, reason: unable to get local issuer certificate
However, specifying NODE_EXTRA_CA_CERTS does not work, in fact if I run the following code within my function, it lists all the “normal” CA certs and none of the ones I specified in NODE_EXTRA_CA_CERTS. (apologies for the screenshots, my work is super paranoid about anything that even looks vaguely like source code)
However, if I run the same code in a normal node.js file, it lists all the NODE_EXTRA_CA_CERTS CAs.
I have opened an ecosystem support ticket, but figured I’d see if the community had any better workarounds than what I’ve been doing, which is to “force” the ca certs using the following block before I get to requestJira:

