# Fleet Server - Error - x509: certificate signed by unknown authority

**URL:** https://discuss.elastic.co/t/fleet-server-error-x509-certificate-signed-by-unknown-authority/312923
**Category:** Elastic Agent
**Tags:** elastic-stack-security, fleet
**Created:** [August 25, 2022, 1:21pm UTC](https://discuss.elastic.co/t/fleet-server-error-x509-certificate-signed-by-unknown-authority/312923 "2022-08-25T13:21:59Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![ethical20](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ethical20/32/68123_2.png) [@ethical20](https://discuss.elastic.co/u/ethical20)
#### Post date: [August 27, 2022, 9:01am UTC](https://discuss.elastic.co/t/fleet-server-error-x509-certificate-signed-by-unknown-authority/312923/8 "2022-08-27T09:01:54Z")

</div>

@Kevin_Clukey

Many thanks for your help, now i have successfully created the fleet server and the agent is connected to it.

Both server and agent were green and healthy but after few minutes both turned yellow and unhealthy.

 ![Fleet-Not healthy1](https://us1.discourse-cdn.com/elastic/original/3X/9/4/947e4f0dfa6259c292d13ba5ba0a15362856c1ab.png)

if i restart them they become healthy for few minutes and then turn to unhealthy.

In the minutes where both are healthy there are no logs coming.

 ![dashboard](https://us1.discourse-cdn.com/elastic/original/3X/8/9/89a5afb28a537e350ffda7c605ddffeca5c6f542.png)

I've checked the agent logs and found this

```auto
State changed to FAILED: 1 error occurred:\n\t* 1 error: open /usr/share/elasticsearch/elasticsearch-ca.crt: The system cannot find the path specified. reading <nil> accessing 'elasticsearch'\n\n - type: 'ERROR' - sub_type: 'FAILED'","ecs.version":"1.6.0"}

```

Checking fleet settings:

 ![Fleet-settings-1](https://us1.discourse-cdn.com/elastic/original/3X/2/d/2def285f9006a9bee08f772a31255a4bbdd6be26.png)

I can see the path is correct and i checked it from the elastic-stack I can confirm the file is there and accessible.

Your help is really appreciated.

Thanks in advance.

---

_[View the full topic](https://discuss.elastic.co/t/fleet-server-error-x509-certificate-signed-by-unknown-authority/312923)._
