# Error connecting to package registry

**URL:** <https://discuss.elastic.co/t/error-connecting-to-package-registry/279721>\
**Category:** Kibana\
**Created:** [July 27, 2021, 11:42am UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry/279721 "2021-07-27T11:42:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nil\_Battey\_Sannata](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nil_battey_sannata/32/87040_2.png) [@Nil\_Battey\_Sannata](https://discuss.elastic.co/u/Nil_Battey_Sannata)\
**Post date:** [July 27, 2021, 11:42am UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry/279721/1 "2021-07-27T11:42:18Z")

</div>

Since Zscaler proxy is enabled, My Kibana started giving an error

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/8/38a1bb4d20ec3b1c787fd85b7ec3d6c9c848a74b.png)  
So I simply added Zscaler RootCA.crt to ubuntu server (where ELK is running) in `/usr/share/ca-certificates` and reconfigured `ca-certficates` dpkg. Now curl is not giving any certificate error but the Kibana is still giving the same error.

curl before adding CA cert-

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/3/e3fe7e91f7e2266d4e736757475fd42190fe1fe8.png)

curl post adding CA cert-

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/8/388fcc810ead4985e552c0cb2e3dcdb738e1f163.png)

---

<div class="post-metadata">

**Author:** ![brianseeders](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brianseeders/32/84831_2.png) [@brianseeders](https://discuss.elastic.co/u/brianseeders)\
**Post date:** [August 2, 2021, 7:33pm UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry/279721/2 "2021-08-02T19:33:00Z")

</div>

Hey @Nil_Battey_Sannata,

It looks like someone [in this thread](https://discuss.elastic.co/t/kibana-fleet-error-connecting-to-package-registry/257956/7) was having the same issue, and solved it using the `NODE_EXTRA_CA_CERTS` environment variable. You want to give that a shot and let us know if that fixes the issue for you?

Brian

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 30, 2021, 7:33pm UTC](https://discuss.elastic.co/t/error-connecting-to-package-registry/279721/3 "2021-08-30T19:33:57Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
