I am trying ELK 7.10.0 and it's beats. I have successfully installed the Elastic-Agent 7.10.0 in two machines, running Win 10 and Win 10 Pro, but I am unable to install the same agent on a machine running Windows Server 2012 R2. When I try to install the Elastic-Agent I get this error:
2020-12-09T09:31:56.448-0500 DEBUG kibana/client.go:170 Request method: POST, path: /api/fleet/agents/enroll Error: fail to enroll: fail to execute request to Kibana: Post "https://192.168.1.170:5601/api/fleet/agents/enroll?": x5 09: certificate is valid for 127.0.0.1, 192.168.1.170, not 192.168.1.170 Error: enroll command failed with exit code: 1
This error does not make any sense to me, since it says the certificate is valid for machine with IP 192.168.1.170, not 192.168.1.170 (same machine and same IP).
On the other machines I did not get this error. Installation ran smoothly.
I already tried the manual installation of the CA certificate before running the Elastic-Agent installation script, but the issue persist.