Heartbeat remote error: tls: handshake failure

Dear team,

I recently enabled TLS on http and wanted to configure heartbeat to communicate with els on HTTPS. I have done following configuration:

# ----------------------------------- ElasticSearch connection -----------------------------------
output.elasticsearch.hosts: [, ]

# ------------------------------------ Security ------------------------------------
output.elasticsearch.api_key: evMy13kBNwLYJDcmQhTN:GeC-EovQSseEspoylykioQ
  - /app/products/heartbeat/conf/certs/elasticsearch-ca.pem

But when I start heartbeat I see the following:

2021-06-04T18:10:50.771+0200	ERROR	[publisher_pipeline_output]	pipeline/output.go:154	Failed to connect to backoff(elasticsearch( Get "": remote error: tls: handshake failure

Any hints? I have client auth on Elasticsearch set as optional so certificate shall not be requested, but still it fails.

Could you please share debug logs?

How do I do that? I have changed: logging.level: debug but there is no more information printed.

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