Hello @francescouk,
I think you're getting caught up in some issues that are largely summarized here: https://github.com/elastic/kibana/issues/73483
In the meantime, did you see the follow-up in this post as well? Elastic Agent not sending Data Have you been able to make sure that the CA cert is in the trusted roots store for the computer account on your endpoint?
-Nick Fritts