# Elastic agent unable to connect to kibana

**URL:** <https://discuss.elastic.co/t/elastic-agent-unable-to-connect-to-kibana/368298>\
**Category:** Elastic Agent\
**Created:** [October 5, 2024, 4:30pm UTC](https://discuss.elastic.co/t/elastic-agent-unable-to-connect-to-kibana/368298 "2024-10-05T16:30:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aws\_account](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aws_account/32/138097_2.png) [@aws\_account](https://discuss.elastic.co/u/aws_account)\
**Post date:** [October 5, 2024, 4:30pm UTC](https://discuss.elastic.co/t/elastic-agent-unable-to-connect-to-kibana/368298/1 "2024-10-05T16:30:01Z")

</div>

I have enabled the fleet-server and fleet-server pods are running fine, but when i run elsatic-agent daemonset its unable to connect to kibana over https and throws x509 unknow certificate, i have tried giving same certificate in elastic agent(not sure if i have doen right passed in env as FLEET\_SSL).

Kibana is running as pod and elastic operator is managing all these and i'm stuck, its all default certs i have not modified anything.

Full log

Kibana fetch policy failed: http GET request to https://:5601/api/fleet/agent\_policies fails: fail to execute the HTTP GET request: Get "https://:5601/api/fleet/agent\_policies": x509: certificate signed by unknown authority. Response:

Please help.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 5, 2024, 6:45pm UTC](https://discuss.elastic.co/t/elastic-agent-unable-to-connect-to-kibana/368298/2 "2024-10-05T18:45:11Z")

</div>

Hi @aws_account

Welcome to the community.

Did you look at the troubleshooting guide

> **[Troubleshoot common problems | Fleet and Elastic Agent Guide \[8.15\] | Elastic](https://www.elastic.co/guide/en/fleet/current/fleet-troubleshooting.html#agent-enrollment-certs)**
