can you please be more specific and detailed on what is your problem and what you tried to do so far? You can show the configuration you changed, how you enabled SSL, which curl call you executed and so forth. Especially state what result your are expecting, otherwise it is hard to help.
Elasticsearch out of the box only uses HTTP without any encryption. Security (plus encryption) is available as a commercial plugin, see the homepage
We are calling elastic search queries using from an html file by creating the client. when the web page was put in a web server , the commands by default is send as https . we are not sure whether the http/https request is send to elastic search or whether the request is blocked due to some firewall
If you are not using SSL, why do you call curl with https in its URL? This tells curl to use SSL or TLS
if you are not sure, maybe debug there first. Also, you should not expose Elasticsearch directly to the internet, in case you are doing this at the moment.
Thanks . Okay i'm beginner in web based application development.
when we execute the curl command with http request the elastic search queries are getting executed. Why we tried with https was the from the webserver the request is coming by default as https not http.we are trying to understand why it's sending it as https .
As you mentioned earlier Elasticsearch out of the box only uses HTTP without any encryption so i understand that we should send the execute the elastic search query using http.
So do you mean that we should not call elasticsearch queries directly by http requests.by this -"you should not expose Elasticsearch directly to the internet, in case you are doing this at the moment."
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.