Metricbeat Error : x509 Certificate is valid for x, not Y

i have an error when i setup metricbeat

Step4 : ./metricbeat setup

this is my metricbeat.yml

Setup kibana

setup.kibana:

host: ["http://192.168.137.88:5601"]

OutPut elasticsearch

output.elasticsearch:
hosts: ["https://192.168.137.88:9200"]
username: "id"
password: "password"



this is [metricbeat install location/modules.d/elasticsearch.yml]
image
this is [metricbeat install location/modules.d/kibana.yml]
image

this is [elasticsearch install location/elasticsearch.yml]
image
this is [kibana install location/kibana.yml]
image

this is error

Exiting: Couldn't connect to any of the configured Elasticsearch hosts. Errors: [Error connection to Elasticsearch https://192.168.137.88:9200: Get https://192.168.137.88:9200: x509: certificate is valid for 127.0.0.1, not 192.168.137.88]


elaticsearch, kibana - version : 6.7.1
searchguard -version : 6.7.1-25.1
metricbeat -version : 6.7.1-linux-x86_64

how can i solve this problem??
elasticsearch, kibana, searchguard - that works but metricbeat setup is error
this is my first time try elasticsearch,kibana,searchguard,metricbeat
please help me, Thanks

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