Below is metricbeat.yml file
etricbeat.config.modules: path: ${path.config}/modules.d/*.yml reload.enabled: false setup.template.settings: index.number_of_shards: 1 index.codec: best_compression setup.dashboards.enabled: true setup.kibana: host: "10.208.77.75" protocol: "https" ssl.verification_mode: none output.elasticsearch: hosts: [ "10.208.77.75:9200", "10.208.77.76:9200", "10.208.77.77:9200", "10.208.77.78:9200" ] protocol: "https" username: "elastic" password: "xxxx" ssl.verification_mode: none processors: - 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(https://10.208.77.75:9200)): Get https://10.208.77.75:9200: x509: cannot validate certificate for 10.208.77.75 because it doesn't contain any IP SANs
Can someone help how to resolve this error in linux6?