# Client sent an HTTP request to an HTTPS server

**URL:** <https://discuss.elastic.co/t/client-sent-an-http-request-to-an-https-server/216365>\
**Category:** Elasticsearch\
**Created:** [January 24, 2020, 5:56am UTC](https://discuss.elastic.co/t/client-sent-an-http-request-to-an-https-server/216365 "2020-01-24T05:56:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![VIGNESHkumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vigneshkumar/32/131369_2.png) [@VIGNESHkumar](https://discuss.elastic.co/u/VIGNESHkumar)\
**Post date:** [January 24, 2020, 5:56am UTC](https://discuss.elastic.co/t/client-sent-an-http-request-to-an-https-server/216365/1 "2020-01-24T05:56:50Z")

</div>

getting error when try to check elasticsearch

Client sent an HTTP request to an HTTPS server

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [January 24, 2020, 6:28am UTC](https://discuss.elastic.co/t/client-sent-an-http-request-to-an-https-server/216365/2 "2020-01-24T06:28:19Z")

</div>

If you have secured the cluster, configure the client to send HTTPS requests.

---

<div class="post-metadata">

**Author:** ![VIGNESHkumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vigneshkumar/32/131369_2.png) [@VIGNESHkumar](https://discuss.elastic.co/u/VIGNESHkumar)\
**Post date:** [January 24, 2020, 7:24am UTC](https://discuss.elastic.co/t/client-sent-an-http-request-to-an-https-server/216365/3 "2020-01-24T07:24:25Z")

</div>

how I need to configure

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [January 24, 2020, 7:46am UTC](https://discuss.elastic.co/t/client-sent-an-http-request-to-an-https-server/216365/4 "2020-01-24T07:46:13Z")

</div>

That would depend on which client you are using and you have not provided any data I’ll about this.

---

<div class="post-metadata">

**Author:** ![VIGNESHkumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vigneshkumar/32/131369_2.png) [@VIGNESHkumar](https://discuss.elastic.co/u/VIGNESHkumar)\
**Post date:** [January 30, 2020, 4:26am UTC](https://discuss.elastic.co/t/client-sent-an-http-request-to-an-https-server/216365/5 "2020-01-30T04:26:59Z")

</div>

> [@Christian\_Dahlqvist](#):
>
> ot provided any data I’ll abou

Actually what is the problem is, we deployed elasticsearch msi service in our local server. it is working fine in other server. When i deploy it in a particular server which is hosted in internet, we are getting the error "Client send a HTTP request to HTTPS server."  
So we need to send the https request from client.  
is there any configuration in elasticsearch.yml file to send an HTTPS request?  
If there means, what are the changes has to be done in configuration file?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 27, 2020, 4:27am UTC](https://discuss.elastic.co/t/client-sent-an-http-request-to-an-https-server/216365/6 "2020-02-27T04:27:21Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
