Hi Kartheek,
First please try https://localhost:9200 and add the -v parameter to the curl command and post the output.
Also you can check the ssl-cert with the following command:
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.