# Regarding exposing Elastic Search API over https

**URL:** <https://discuss.elastic.co/t/regarding-exposing-elastic-search-api-over-https/57123>\
**Category:** Elasticsearch\
**Created:** [August 3, 2016, 3:25pm UTC](https://discuss.elastic.co/t/regarding-exposing-elastic-search-api-over-https/57123 "2016-08-03T15:25:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivc](https://avatars.discourse-cdn.com/v4/letter/v/ce7236/32.png) [@vivc](https://discuss.elastic.co/u/vivc)\
**Post date:** [August 3, 2016, 3:25pm UTC](https://discuss.elastic.co/t/regarding-exposing-elastic-search-api-over-https/57123/1 "2016-08-03T15:25:32Z")

</div>

I've configured http.port to 9200 to query elasticsearch over HTTP , but is it possible to expose elastic search API over https. If so how to configure the same.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 5, 2016, 12:21am UTC](https://discuss.elastic.co/t/regarding-exposing-elastic-search-api-over-https/57123/2 "2016-08-05T00:21:53Z")

</div>

You can do that with [https://www.elastic.co/guide/en/shield/current/index.html](https://www.elastic.co/guide/en/shield/current/index.html)

---

<div class="post-metadata">

**Author:** ![vivc](https://avatars.discourse-cdn.com/v4/letter/v/ce7236/32.png) [@vivc](https://discuss.elastic.co/u/vivc)\
**Post date:** [August 5, 2016, 6:48am UTC](https://discuss.elastic.co/t/regarding-exposing-elastic-search-api-over-https/57123/3 "2016-08-05T06:48:29Z")

</div>

I think shield is a commercial plugin and free trial period is 30 days , Do we have any other way to do this.

---

<div class="post-metadata">

**Author:** ![vivc](https://avatars.discourse-cdn.com/v4/letter/v/ce7236/32.png) [@vivc](https://discuss.elastic.co/u/vivc)\
**Post date:** [August 5, 2016, 1:29pm UTC](https://discuss.elastic.co/t/regarding-exposing-elastic-search-api-over-https/57123/4 "2016-08-05T13:29:08Z")

</div>

Whether using jetty plugin would allow exposing elasticsearch API over https.

---

<div class="post-metadata">

**Author:** ![tinle](https://avatars.discourse-cdn.com/v4/letter/t/c77e96/32.png) [@tinle](https://discuss.elastic.co/u/tinle)\
**Post date:** [August 5, 2016, 2:20pm UTC](https://discuss.elastic.co/t/regarding-exposing-elastic-search-api-over-https/57123/5 "2016-08-05T14:20:11Z")

</div>

Take a look at [searchguard-ssl](https://github.com/floragunncom/search-guard-ssl/wiki)

---

<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:** [July 5, 2017, 10:29pm UTC](https://discuss.elastic.co/t/regarding-exposing-elastic-search-api-over-https/57123/6 "2017-07-05T22:29:47Z")

</div>


