Hostname verification failed while setting up logstash to connect with elasticsearch

i'm setting up the ELK security using X-Pack, I generated the CA and Certs as suggested
by the docs:

bin/elasticsearch-certutil ca
bin/elasticsearch-certutil cert --ca elastic-stack-ca.p12

Shipped them to all the elasticseach nodes and worked fine.

I regenerated the keys can certs... also, converted to .pem for kibana and logstash

It seems Kibana works fine, but on logstash, I used the ca.pem file for cacert. Now I
got the following error in logstash.log and logstash is not pulling any data using any
of the beats

[2019-11-03T04:44:13,747][ERROR][logstash.pipeline ] Pipeline aborted due to error
{:pipeline_id=>"main", :exception=>#<Manticore::UnknownException: Host name
'' does not match the certificate subject provided by the peer (CN=node-
Not able to understand why this error is comming up during generation of certificates
for all the nodes in the cluster i gave dns "private_ip" as input but it still fails to
match the hostname
Please help me with the issue?

i m using the latest versions of all three elasticsearch, kibana and logstash

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