I am trying to secure elasticsearch with SSL certificates. I have configured SSL in ingress pointing to elastic, and then added the root and intermediate certificates in the filebeats image. However, when I configure filebeat to send data over HTTPS, I get the following error,
Cannot establish connection to (https://my-domain.com)
server gave HTTP response to HTTPS client
The error message indicates that the server is not properly configured to authenticate over HTTPS but gave an answer using HTTP. Could you verify that you have successfully configured Elasticsearch with SLL. For this step you can also leave out Filebeat and use curt to reach the TLS secured Elasticsearch API.
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.