Elastic agent unable to connect to kibana

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.

Hi @aws_account

Welcome to the community.

Did you look at the troubleshooting guide