# Fleet-Server Connection Cannot be Confirmed

**URL:** <https://discuss.elastic.co/t/fleet-server-connection-cannot-be-confirmed/350683>\
**Category:** Kibana\
**Tags:** fleet\
**Created:** [January 9, 2024, 9:17pm UTC](https://discuss.elastic.co/t/fleet-server-connection-cannot-be-confirmed/350683 "2024-01-09T21:17:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![houstonragan](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@houstonragan](https://discuss.elastic.co/u/houstonragan)\
**Post date:** [January 9, 2024, 9:17pm UTC](https://discuss.elastic.co/t/fleet-server-connection-cannot-be-confirmed/350683/1 "2024-01-09T21:17:44Z")

</div>

I am in the process of trying to set up an Elastic stack and am running into problems with setting up a Fleet Server. My Elasticsearch and Kibana are all set up and performing well, but I need a Fleet Server to start setting up agents. The whole stack is being hosted on the same server, an ubuntu machine.

When I grab the provided commands (attached)

 ![fleetCommands](https://us1.discourse-cdn.com/elastic/original/3X/9/3/937e6fa7f5f062e9236f84d3d8258984b74de883.png)  
from my Kibana UI and try them in my console, I get the following error:

"log.origin":{"file.name":"cmd/enroll\_cmd.go","file.line":807},"message":"Fleet Server - Error - failed version compatibility check with elasticsearch: tls: failed to verify certificate: x509: certificate signed by unknown authority","ecs.version":"1.6.0"}

I would greatly appreciate it if someone tried to walk me through what they think I might be doing wrong. I have tried adding '--insecure' after the token but it still triggers the same alert.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![yago82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yago82/32/97755_2.png) [@yago82](https://discuss.elastic.co/u/yago82)\
**Post date:** [January 10, 2024, 9:48am UTC](https://discuss.elastic.co/t/fleet-server-connection-cannot-be-confirmed/350683/2 "2024-01-10T09:48:42Z")

</div>

> [@houstonragan](#):
>
> Fleet Server - Error - failed version compatibility check with elasticsearch: tls: failed to verify certificate: x509: certificate signed

Hi,

Try reading this thread, it should have the same problem as yours.

[Fleet Server - Error - x509: certificate signed by unknown authority - Elastic Stack / Elastic Agent - Discuss the Elastic Stack](https://discuss.elastic.co/t/fleet-server-error-x509-certificate-signed-by-unknown-authority/312923/7)

Regards

---

<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:** [February 7, 2024, 9:48am UTC](https://discuss.elastic.co/t/fleet-server-connection-cannot-be-confirmed/350683/3 "2024-02-07T09:48:44Z")

</div>

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