when I try to run filebeat setup I get the following error
Index setup finished.
Loading dashboards (Kibana must be running and reachable)
Exiting: error connecting to Kibana: fail to load the TLS config: 1 error: tls: failed to parse private key
I am a 100% certain my passphrase is right and the certs are good. Any ideas what may be going on?
Where have you seen these parameters for kibana setup?
I just configured a filebeat 7.2 against kibana and worked just fine with the following configuration:
setup.kibana:
# Kibana Host
# Scheme and port can be left out and will be set to the default (http and 5601)
# In case you specify and additional path, the scheme is required: http://localhost:5601/path
# IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
host: "https://hostname:5601"
Index setup finished.
Loading dashboards (Kibana must be running and reachable)
Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to https://x.x.x.x:5601/s/filebeat/api/status fails: fail to execute the HTTP GET request: Get https://x.x.x.x:5601/s/filebeat/api/status: x509: cannot validate certificate for x.x.x.x because it doesn't contain any IP SANs. Response: .
In order to make ssl work you have to use the hostname provided in the certificate or change the certificate including the ip in it. You also can disable certificate validation.
Disabling validation would be the right approach in our case, however there seems to be no such property on filebeat or kibana. Unless i am overlooking something.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.