I’m getting this error on everything I’m trying to do:
forge install
forge upgrade
My company recently adopted Zscaler security tool so I think that’s the root cause.
I have imported it’s cert into cacert of java I’m using. However I’m not sure if Forge is using java storage or some other one.
Forge CLI is using NodeJS, so you might want to set NODE_EXTRA_CA_CERTS
as an environment variable (documentation).
1 Like
Thank you!
But that didn’t work, same error
Sorry, I’m not familiar with Zscaler; try running node
by itself with the path to the certificates in the above environment variable and see what kind of errors e.g. fetch()
gives you. Hopefully that leads you to the correct certificate path/etc. to then use with Forge.
NODE_EXTRA_CA_CERTS has worked, however it should point to *.crt and not cacert
thanks for help Alex