# Kibana Fleet shows Self Signed Certificate in Certificate Chain

**URL:** https://discuss.elastic.co/t/kibana-fleet-shows-self-signed-certificate-in-certificate-chain/297947
**Category:** Kibana
**Tags:** docker
**Created:** [February 22, 2022, 8:20pm UTC](https://discuss.elastic.co/t/kibana-fleet-shows-self-signed-certificate-in-certificate-chain/297947 "2022-02-22T20:20:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![SwampyFox](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/swampyfox/32/89601_2.png) [@SwampyFox](https://discuss.elastic.co/u/SwampyFox)
#### Post date: [February 22, 2022, 8:20pm UTC](https://discuss.elastic.co/t/kibana-fleet-shows-self-signed-certificate-in-certificate-chain/297947/1 "2022-02-22T20:20:22Z")

</div>

I have just run through the Elasticstack 8 instructions on Docker and have been able to get Elastic and Kibana up. However, when I click on Fleet in kibana, I get a message:

"Error connecting to package registry...Reason: Self Signed certificate in certification chain." I only get this error when I am connected to my company's VPN. From what I am told, this is due to Kibana receiving our company's inter cert that is swapped out near the edge of the network. I was told that I would either need to import the Company's Certificate and then configure the certs for Linux or the JVM.

I am unsure what steps I should take next and could use any words of wisdom or help

Thank you

Chuck

---

<div class="post-metadata">

### Author: ![SwampyFox](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/swampyfox/32/89601_2.png) [@SwampyFox](https://discuss.elastic.co/u/SwampyFox)
#### Post date: [March 1, 2022, 4:13pm UTC](https://discuss.elastic.co/t/kibana-fleet-shows-self-signed-certificate-in-certificate-chain/297947/2 "2022-03-01T16:13:17Z")

</div>

I was able to resolve this by suppling the root ca that my company uses and configuring the NODE\_EXTRA\_CA\_CERTS environment variable. For example:

```auto
docker run --name kibana \
    --net elastic \
    -v $(pwd)/npmcerts.pem:/tmp/npmcerts.pem \
    -e NODE_EXTRA_CA_CERTS=/tmp/npmcerts.pem \
    -p 5601:5601 \
    docker.elastic.co/kibana/kibana:8.0.0

```

---

<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: [March 29, 2022, 4:13pm UTC](https://discuss.elastic.co/t/kibana-fleet-shows-self-signed-certificate-in-certificate-chain/297947/3 "2022-03-29T16:13:22Z")

</div>

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