Error: fail to enroll: fail to execute request to fleet-server: x509:

Dear Members,

I have setup ECE for testing environment on 3 machines in different zone
with IP as below

1XX.XXX.XXX.244, 1XX.XXX.XXX.245, 1XX.XXX.XXX.246

after setting up ECE i tried to integrate an elastic agent and used the certificate and downloaded from the ECE console and deployed the same certificate in fleet setting also.

I am facing the error can someone please guide me

enrollment attempt failed, retrying for 10m0s, every 1m0s enrolling to URL: https://2077bdcea73cc171b2e.fleet.1XX.XXX.XXX.244.ip.es.io:9243/","ecs.version":"1.6.0"}
Error: fail to enroll: fail to execute request to fleet-server: x509: certificate is valid for 1XX.XXX.XXX.244, 1XX.XXX.XXX.245, *1XX.XXX.XXX.244.ip.es.io, not 2077bdcea73cc171b2e.fleet.1XX.XXX.XXX.244.ip.es.io

Best Regards,
Shrikant

Hi,

You could update the SSL/TLS certificate to include the domain 2077bdcea73cc171b2e.fleet.1XX.XXX.XXX.244.ip.es.io. This would likely involve generating a new certificate and updating it in your ECE and Fleet settings.

or you could change the Fleet Server URL that the Elastic Agent is trying to connect to, so that it matches one of the domains or IP addresses the certificate is valid for.

Regards

Hi @yago82 ,

thankyou for your response.
can you please let me know how to change the url since
we took the integration server at the time of deployment of elastic instance inside ECE