# Elastic Agents CA questions…

**URL:** <https://discuss.elastic.co/t/elastic-agents-ca-questions/298011>\
**Category:** Kibana\
**Tags:** fleet\
**Created:** [February 23, 2022, 10:32am UTC](https://discuss.elastic.co/t/elastic-agents-ca-questions/298011 "2022-02-23T10:32:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Balu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/balu/32/37569_2.png) [@Balu](https://discuss.elastic.co/u/Balu)\
**Post date:** [February 23, 2022, 10:32am UTC](https://discuss.elastic.co/t/elastic-agents-ca-questions/298011/1 "2022-02-23T10:32:04Z")

</div>

Hello peoples,

I have started playing with Fleet/Agents on our just upgraded 8.0 cluster and I am confused about how it works with the authoritative CA.

I have created my Elastic CA while installing the cluster using `elasticsearch-certutil`.

At the moment it seems I have to copy my `elastic-stack-ca.crt` file before installing an agent and use `--certificate-authorities=` to tell it to use that file.

Two questions that came to mind during that procedure:

- Do I have to keep that file after installation (at that location) or does the agent copy it somewhere to use?
- What are the settings "Elasticsearch CA trusted fingerprint" or "certificate\_authorities" in the "Advanced YAML configuration" for if I still have to provide that file?

I have tried using `--fleet-server-es-ca-trusted-fingerprint` instead of providing the file, but that didn't seem to work.

---

<div class="post-metadata">

**Author:** ![Balu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/balu/32/37569_2.png) [@Balu](https://discuss.elastic.co/u/Balu)\
**Post date:** [February 25, 2022, 8:33pm UTC](https://discuss.elastic.co/t/elastic-agents-ca-questions/298011/2 "2022-02-25T20:33:18Z")

</div>

Ok, I have figured out one question myself.

I have to keep that file at that location or change the `fleet.yml` configuration:

```auto
rg -B1 elastic-stack-ca.crt /opt/Elastic/Agent/
/opt/Elastic/Agent/fleet.yml
18- certificate_authorities:
19: - /home/user/elastic-stack-ca.crt

```

Remains the second question what "Elasticsearch CA trusted fingerprint" is for or how to use it?

---

<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 25, 2022, 8:33pm UTC](https://discuss.elastic.co/t/elastic-agents-ca-questions/298011/3 "2022-03-25T20:33:33Z")

</div>

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