I could add ssl.verification_mode: none , but isn't that a security risk?
I prefer using the Let'sEncrypt SSL for Kibana instead of creating my own certificate through elasticsearch-certutil cert --keep-ca-key --pem .
The reason is that I would like to access my Kibana from anywhere from a browser. And for that to work I need CAs like lets encrypt, godaddy etc that are trusted by the browsers.
Certs created by elasticsearch-certutil are not recognised by browsers.
Are you able to successfully curl https://api-s2.domain.net:5505/api/status from the Filebeat host? If so, can you share the exact curl command that worked?
No, I'm not able to do this successfully. I get the error:
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
I'm currently analysing the ELK stack (minus Logstash Plus FileBeat) to see if we could utilise this for our business. If FileBeats can't reach the central server over SSL as demonstrated, this is a security concern for us and we have to look for a different solution.
Before I move on too quickly, I would like know if this a bug that can be fixed by ticketing or not? A reply would be much appreciated.
The fact that you aren't able to connect to Kibana with curl indicates that this isn't so much a Filebeat issue. I would suggest trying different options for the curl command until you can successfully connect to Kibana. Once you have a working curl command, please post it here and we can provide the corresponding Filebeat settings.
Also, please note that these are community forums, not Elastic Support. We do our best to provide help here but there are no SLAs as such. If you are interested in Elastic Support (that comes with well-defined SLAs), you can find more information here: https://www.elastic.co/services/
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.