Filebeat setup x509: certificate signed by unknown authority

can some help i get the error below when i try to run "sudo filebeat setup"

Loading dashboards (Kibana must be running and reachable)
Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to fails: fail to execute the HTTP GET request: Get "": x509: certificate signed by unknown authority. Response: .


host: "" 
username: "my_kibana_user"  
password: "{pwd}" 

the link work good in the browser

hello @Badr_Atouhlaten , welcome to the Elastic community!

how did you set up the certificate on Kibana?

what's the output of openssl s_client -showcerts -connect

what version of Kibana and Filebeat are you running?

Thank you i managed to solve it with ssl.verification_mode: none

1 Like


glad it is working now, but disabling the ssl verification is not the best practice in term of security