When i tried to add elastic Agent to Windows host, this error happended

Is this a cloud cluster, or self-managed? If self-managed, take a look at Troubleshoot common problems | Fleet and Elastic Agent Guide [8.12] | Elastic

This is a cluster. I have a Fleet Server on ubuntu and i want to add elastic agent to windows host ?? :pray:

If the cluster is running on your hardware, it's self-managed. What may be happening is the Agent's self-signed certificate, which is automatically generated, can't be verified by Fleet Server. The workaround is to add the --insecure option to the Agent installation string, like this Linux-based example:

sudo ./elastic-agent install --url=https://<fleet-server-ip>:8220 --enrollment-token=<token> --insecure

I add --insecure and it is the result !

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