# Add fleet server self signed certificate error

**URL:** <https://discuss.elastic.co/t/add-fleet-server-self-signed-certificate-error/315187>\
**Category:** Elastic Agent\
**Tags:** fleet\
**Created:** [September 26, 2022, 3:43pm UTC](https://discuss.elastic.co/t/add-fleet-server-self-signed-certificate-error/315187 "2022-09-26T15:43:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![david-a76](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@david-a76](https://discuss.elastic.co/u/david-a76)\
**Post date:** [September 26, 2022, 3:43pm UTC](https://discuss.elastic.co/t/add-fleet-server-self-signed-certificate-error/315187/1 "2022-09-26T15:43:27Z")

</div>

I'm trying to install Fleet with Kabana's Quick Start Wizard.  
When I run the installer:

```auto
./elastic-agent install --fleet-server-es=https://192.168.80.10:9200 --fleet-server-service-token=AAE....MQQ --fleet-server-policy=fleet-server-policy

```

The installation fails with error:

```auto
{"log.level":"info","@timestamp":"2022-09-26T15:30:18.523Z","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":792},"message":"Fleet Server - Error - x509: certificate signed by unknown authority","ecs.version":"1.6.0"}
Error: fleet-server failed: context canceled

```

All certificates are those generated by Elastic therefore self-signed.  
How can i ignore unknown authority?

Many Thanks

---

<div class="post-metadata">

**Author:** ![simpleman](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@simpleman](https://discuss.elastic.co/u/simpleman)\
**Post date:** [September 27, 2022, 8:08pm UTC](https://discuss.elastic.co/t/add-fleet-server-self-signed-certificate-error/315187/2 "2022-09-27T20:08:57Z")

</div>

Did you try adding `--insecure` at the end of the above command?

---

<div class="post-metadata">

**Author:** ![david-a76](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@david-a76](https://discuss.elastic.co/u/david-a76)\
**Post date:** [September 28, 2022, 12:17pm UTC](https://discuss.elastic.co/t/add-fleet-server-self-signed-certificate-error/315187/3 "2022-09-28T12:17:39Z")

</div>

Yes, of course. I tried it but the same result.

---

<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:** [October 26, 2022, 12:18pm UTC](https://discuss.elastic.co/t/add-fleet-server-self-signed-certificate-error/315187/4 "2022-10-26T12:18:26Z")

</div>

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