# Elastic Agent Installation Verification Mode Fleet Cert

**URL:** <https://discuss.elastic.co/t/elastic-agent-installation-verification-mode-fleet-cert/300198>\
**Category:** Beats\
**Tags:** fleet, elastic-agent\
**Created:** [March 21, 2022, 11:30am UTC](https://discuss.elastic.co/t/elastic-agent-installation-verification-mode-fleet-cert/300198 "2022-03-21T11:30:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![beijo](https://avatars.discourse-cdn.com/v4/letter/b/58f4c7/32.png) [@beijo](https://discuss.elastic.co/u/beijo)\
**Post date:** [March 21, 2022, 11:30am UTC](https://discuss.elastic.co/t/elastic-agent-installation-verification-mode-fleet-cert/300198/1 "2022-03-21T11:30:27Z")

</div>

Hi all,

is it possible to define the `verification_mode` used to validate the fleet server certificate when installing an elastic agent? I'm thinking about filebeat where you can set `verification_mode` to `certificate` to only check if the certificate is signed by a trustworthy CA.

The problem is, elastic agent is not validating my fleet server certificate, as the subdomain xxx.fleet. is not included and I don't want to use `--insecure` because I still want to validate the CA.

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [March 21, 2022, 3:09pm UTC](https://discuss.elastic.co/t/elastic-agent-installation-verification-mode-fleet-cert/300198/2 "2022-03-21T15:09:05Z")

</div>

Maybe you should use a self-signed certificate instead?

---

<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:** [April 18, 2022, 5:10pm UTC](https://discuss.elastic.co/t/elastic-agent-installation-verification-mode-fleet-cert/300198/3 "2022-04-18T17:10:04Z")

</div>

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