# Unable to install fleet server

**URL:** https://discuss.elastic.co/t/unable-to-install-fleet-server/282481
**Category:** Beats
**Tags:** fleet
**Created:** [August 25, 2021, 11:04am UTC](https://discuss.elastic.co/t/unable-to-install-fleet-server/282481 "2021-08-25T11:04:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![geetika\_gopi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/geetika_gopi/32/93548_2.png) [@geetika\_gopi](https://discuss.elastic.co/u/geetika_gopi)
#### Post date: [August 25, 2021, 11:04am UTC](https://discuss.elastic.co/t/unable-to-install-fleet-server/282481/1 "2021-08-25T11:04:08Z")

</div>

Hi Everyone, I am trying to install fleet server on one of my elastic data nodes. However im facing this error. Could someone help me out please?

```auto
 ./elastic-agent install -f --fleet-server-es=https://xyz:9200 --fleet-server-service-token=AAEAA **** --fleet-server-es-ca=/etc/elasticsearch/elastic-certificates.p12
2021-08-25T06:35:13.238-0400 INFO cmd/enroll_cmd.go:354 Generating self-signed certificate for Fleet Server
2021-08-25T06:35:14.815-0400 INFO cmd/enroll_cmd.go:701 Fleet Server - Starting
2021-08-25T06:35:20.824-0400 INFO cmd/enroll_cmd.go:706 Fleet Server - Starting
2021-08-25T06:35:26.831-0400 INFO cmd/enroll_cmd.go:706 Fleet Server - Starting
2021-08-25T06:35:32.838-0400 INFO cmd/enroll_cmd.go:706 Fleet Server - Starting
2021-08-25T06:35:38.848-0400 INFO cmd/enroll_cmd.go:706 Fleet Server - Starting
2021-08-25T06:35:44.858-0400 INFO cmd/enroll_cmd.go:706 Fleet Server - Starting
2021-08-25T06:35:50.866-0400 INFO cmd/enroll_cmd.go:706 Fleet Server - Starting
2021-08-25T06:35:56.875-0400 INFO cmd/enroll_cmd.go:706 Fleet Server - Starting
2021-08-25T06:36:02.886-0400 INFO cmd/enroll_cmd.go:706 Fleet Server - Starting
2021-08-25T06:36:08.894-0400 INFO cmd/enroll_cmd.go:706 Fleet Server - Starting
2021-08-25T06:36:14.902-0400 INFO cmd/enroll_cmd.go:706 Fleet Server - Starting
2021-08-25T06:36:19.909-0400 INFO cmd/enroll_cmd.go:682 Fleet Server - Missed last check-in
2021-08-25T06:36:20.665-0400 INFO cmd/enroll_cmd.go:414 Starting enrollment to URL: https://xyz:8220
Error: fail to enroll: fail to execute request to fleet-server: 1 error occurred:
   * missing enrollment api key

```

---

<div class="post-metadata">

### Author: ![blaker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blaker/32/65621_2.png) [@blaker](https://discuss.elastic.co/u/blaker)
#### Post date: [August 25, 2021, 1:17pm UTC](https://discuss.elastic.co/t/unable-to-install-fleet-server/282481/2 "2021-08-25T13:17:08Z")

</div>

You cannot use p12 format certificates, the issue is the CA is not working correctly because of that. Try converting the CA to PEM format and see if that fixes 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: [September 23, 2021, 7:26am UTC](https://discuss.elastic.co/t/unable-to-install-fleet-server/282481/4 "2021-09-23T07:26:26Z")

</div>

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