In my browser, if I go to https://elk.companyname.net:5601 - I get kibana.
This is what I get when I start kibana:
ERROR instance/beat.go:958 Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to https://elk.companyname.net:5601/api/status fails: fail to execute the HTTP GET request: Get https://elk.companyname.net:5601/api/status: x509: certificate signed by unknown authority. Response: .
Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to https://elk.companyname.net:5601/api/status fails: fail to execute the HTTP GET request: Get https://elk.companyname.net:5601/api/status: x509: certificate signed by unknown authority. Response: .
It seems to not like the certificate. To secure kibana with HTTPS, I've used my company's .crt and .key.
Do I have anything missing? Is it possible to have dashboards go through Elasticsearch (since it seems to work)? Thanks ahead.
The best solution would definitely be to be able to configure certificate_authorities as that at least to me seems to be what is failing.
Setting verification_mode to none does not mean the connection is not encrypted but it leaves it vulnerable to attacks as the documentation says
In this mode, TLS-based connections are susceptible to man-in-the-middle attacks.
You mentioned that your local browser does not complain about the Kibana certificate. What if you use something like curl from where Auditbeat is running?
curl -Iv https://elk.companyname.net:5601 should show information on the certificate as well. Add -k if you get certificate warnings, to allow insecure connections.
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.