I have created a fleet server and that is showing under fleet>agents and status is healthy as well but while enrolling agent to fleet server it shows its enrolled but status on kibana fleet>agents UI is coming as unhealthy and not getting any logs.
I have used elastic agent version 7.14.1 and elasticsearch cluster is on 7.14.10 and kibana version is 7.14.0 and os is ubuntu(linux).
I am also using self signed certificate for fleet server.