Dear, good afternoon!
I would like to ask for your support to solve a problem that I have been facing in the configuration of a fleet server in self mode, I created the CA, my Elasticsearch responds to HTTPS, I created a certificate following the procedure that is on the website https://www. Encrypt traffic in a self-managed cluster | Fleet and Elastic Agent Guide [7.14] | Elastic
but the error below occurs
Fleet Server - Error - x509: certificate is valid for 127.0.0.1, not 192.168.50.71
kibana configuration
command i used
sudo elastic-agent enroll --url=https://192.168.50.7:8220 \
-f \
--fleet-server-es=https://192.168.50.71:9200 \
--fleet-server-service-token=xxxxxxxxxxxx
--fleet-server-policy=xxxxxxxxxxxxxxxx
--certificate-authorities=/etc/ssl/certs/Elasticsearch/ca.crt
--fleet-server-es-ca=/etc/ssl/certs/Elasticsearch/Elasticsearch.crt
--fleet-server-cert=/etc/ssl/certs/Elasticsearch/fleet-server/fleet-server.crt
--fleet-server-cert-key=/etc/ssl/certs/Elasticsearch/fleet-server/fleet-server.key