Metric beat ssl configuration is not working in linux6

Below is metricbeat.yml file

  path: ${path.config}/modules.d/*.yml
  reload.enabled: false
  index.number_of_shards: 1
  index.codec: best_compression
setup.dashboards.enabled: true
  host: ""
  protocol: "https"
  ssl.verification_mode: none
  hosts: [ "", "", "", "" ]
  protocol: "https"
  username: "elastic"
  password: "xxxx"
  ssl.verification_mode: none
  - add_host_metadata: ~
ssl.enabled: false

This config is working fine with rhel7 server. But in rhel6 server I am getting below error

2020-08-17T09:34:54.035-0400 ERROR [publisher_pipeline_output] pipeline/output.go:155 Failed to connect to backoff(elasticsearch( Get x509: cannot validate certificate for because it doesn't contain any IP SANs

Can someone help how to resolve this error in linux6?

It looks like is relevant to this problem.

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