# Error: request to https://api.atlassian.com/graphql failed, reason: unable to get local issuer certificate

**URL:** <https://community.developer.atlassian.com/t/error-request-to-https-api-atlassian-com-graphql-failed-reason-unable-to-get-local-issuer-certificate/76909>\
**Category:** Forge Platform and Tools\
**Tags:** forge\
**Created:** [February 4, 2024, 8:25pm UTC](https://community.developer.atlassian.com/t/error-request-to-https-api-atlassian-com-graphql-failed-reason-unable-to-get-local-issuer-certificate/76909 "2024-02-04T20:25:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ViktorKuzmychov](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@ViktorKuzmychov](https://community.developer.atlassian.com/u/ViktorKuzmychov)\
**Post date:** [February 4, 2024, 8:25pm UTC](https://community.developer.atlassian.com/t/error-request-to-https-api-atlassian-com-graphql-failed-reason-unable-to-get-local-issuer-certificate/76909/1 "2024-02-04T20:25:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![AlexeyKotlyarov](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/alexeykotlyarov/32/45643_2.png) [@AlexeyKotlyarov](https://community.developer.atlassian.com/u/AlexeyKotlyarov)\
**Post date:** [February 5, 2024, 6:38am UTC](https://community.developer.atlassian.com/t/error-request-to-https-api-atlassian-com-graphql-failed-reason-unable-to-get-local-issuer-certificate/76909/2 "2024-02-05T06:38:34Z")

</div>

Forge CLI is using NodeJS, so you might want to set `NODE_EXTRA_CA_CERTS` as an environment variable ([documentation](https://nodejs.org/docs/latest-v18.x/api/cli.html#cli_node_extra_ca_certs_file)).

---

<div class="post-metadata">

**Author:** ![ViktorKuzmychov](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@ViktorKuzmychov](https://community.developer.atlassian.com/u/ViktorKuzmychov)\
**Post date:** [February 5, 2024, 11:48pm UTC](https://community.developer.atlassian.com/t/error-request-to-https-api-atlassian-com-graphql-failed-reason-unable-to-get-local-issuer-certificate/76909/3 "2024-02-05T23:48:11Z")

</div>

Thank you!  
But that didn’t work, same error

---

<div class="post-metadata">

**Author:** ![AlexeyKotlyarov](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/alexeykotlyarov/32/45643_2.png) [@AlexeyKotlyarov](https://community.developer.atlassian.com/u/AlexeyKotlyarov)\
**Post date:** [February 6, 2024, 5:50am UTC](https://community.developer.atlassian.com/t/error-request-to-https-api-atlassian-com-graphql-failed-reason-unable-to-get-local-issuer-certificate/76909/4 "2024-02-06T05:50:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ViktorKuzmychov](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@ViktorKuzmychov](https://community.developer.atlassian.com/u/ViktorKuzmychov)\
**Post date:** [February 7, 2024, 7:06pm UTC](https://community.developer.atlassian.com/t/error-request-to-https-api-atlassian-com-graphql-failed-reason-unable-to-get-local-issuer-certificate/76909/5 "2024-02-07T19:06:09Z")

</div>

NODE\_EXTRA\_CA\_CERTS has worked, however it should point to \*.crt and not cacert  
thanks for help Alex
