# Fleet server certificate issue

**URL:** https://discuss.elastic.co/t/fleet-server-certificate-issue/352839
**Category:** Elastic Agent
**Tags:** fleet
**Created:** [February 8, 2024, 9:25am UTC](https://discuss.elastic.co/t/fleet-server-certificate-issue/352839 "2024-02-08T09:25:04Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Anand\_Hitachi](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@Anand\_Hitachi](https://discuss.elastic.co/u/Anand_Hitachi)
#### Post date: [February 8, 2024, 9:25am UTC](https://discuss.elastic.co/t/fleet-server-certificate-issue/352839/1 "2024-02-08T09:25:05Z")

</div>

I'm getting this error while installing and enrolling fleet server on a windows host " Error: fleet-server failed: context canceled "

(STARTING-\>FAILED): 1 error: file is not a certificate adding C:/elasticstack-ca/elasticsearch-ca.crt to the list of known CAs accessing 'output.elasticsearch'

Need a solution on urgent basis

Mine is a self managed elastic stack.

---

<div class="post-metadata">

### Author: ![MichelLaterman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michellaterman/32/110221_2.png) [@MichelLaterman](https://discuss.elastic.co/u/MichelLaterman)
#### Post date: [February 15, 2024, 6:05pm UTC](https://discuss.elastic.co/t/fleet-server-certificate-issue/352839/2 "2024-02-15T18:05:14Z")

</div>

The provided error message indicates that `C:/elasticstack-ca/elasticsearch-ca.crt` is not a correctly formatted cert. Can you verify this?

---

<div class="post-metadata">

### Author: ![Anand\_Hitachi](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@Anand\_Hitachi](https://discuss.elastic.co/u/Anand_Hitachi)
#### Post date: [February 16, 2024, 4:34am UTC](https://discuss.elastic.co/t/fleet-server-certificate-issue/352839/3 "2024-02-16T04:34:00Z")

</div>

how to verify it ? I have followed the official Elastic documentation while installation of fleet server

---

<div class="post-metadata">

### Author: ![MichelLaterman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michellaterman/32/110221_2.png) [@MichelLaterman](https://discuss.elastic.co/u/MichelLaterman)
#### Post date: [February 22, 2024, 12:29am UTC](https://discuss.elastic.co/t/fleet-server-certificate-issue/352839/4 "2024-02-22T00:29:38Z")

</div>

How was the cert generated?

---

<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 21, 2024, 12:30am UTC](https://discuss.elastic.co/t/fleet-server-certificate-issue/352839/5 "2024-03-21T00:30:19Z")

</div>

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