About filebeat config error

filebeat config setup.kibana.then setup i get console error

sudo filebeat setup
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://192.168.30.243:5601/s/view_only/api/status fails: fail to execute the HTTP GET request: Get "https://192.168.30.243:5601/s/view_only/api/status": x509: certificate signed by unknown authority. Response: .

the filebeat.yml setup.kibana config

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://192.168.30.243:5601"
  username: "elastic"
  password: "Hd@elk2021"
  protocol: "https"
  ssl.enabled: true
  ssl.certificate_authorities: ["/tuonong/kibana-7.15.2-linux-x86_64/config/elasticsearch-ca.pem"]
  ssl.certificate: "/tuonong/kibana-7.15.2-linux-x86_64/config/kibana-server.crt"
  ssl.key: "/tuonong/kibana-7.15.2-linux-x86_64/config/kibana-server.key"

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