# Bitbucket to Elasticsearch configuration using SSL

**URL:** <https://discuss.elastic.co/t/bitbucket-to-elasticsearch-configuration-using-ssl/69684>\
**Category:** Elasticsearch\
**Created:** [December 21, 2016, 3:47pm UTC](https://discuss.elastic.co/t/bitbucket-to-elasticsearch-configuration-using-ssl/69684 "2016-12-21T15:47:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjothi](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@sjothi](https://discuss.elastic.co/u/sjothi)\
**Post date:** [December 21, 2016, 3:47pm UTC](https://discuss.elastic.co/t/bitbucket-to-elasticsearch-configuration-using-ssl/69684/1 "2016-12-21T15:47:51Z")

</div>

Hi Folks,

I am not sure whether this is the correct place to ask this question. Please apologize me if its not a correct place to ask this question.

We are using DataCenter version of bitbucket and it requires remote Elasticsearch instance for search functionality.

I have followed this link [https://confluence.atlassian.com/bitbucketserver/install-and-configure-a-remote-elasticsearch-instance-815577748.html#InstallandconfigurearemoteElasticsearchinstance-install](https://confluence.atlassian.com/bitbucketserver/install-and-configure-a-remote-elasticsearch-instance-815577748.html#InstallandconfigurearemoteElasticsearchinstance-install) and configured. Its working fine. But this approach is http and using username and password.

I need help on the below things,

1. I would like to make Elasticsearch as https.
2. Authentication should be based on SSL certificate of my bitbucket instance and not using username, password.

Let me know if you have any questions or concerns.

---

<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:** [December 21, 2016, 11:05pm UTC](https://discuss.elastic.co/t/bitbucket-to-elasticsearch-configuration-using-ssl/69684/2 "2016-12-21T23:05:29Z")

</div>

You'd need to leverage [https://www.elastic.co/guide/en/x-pack/current/xpack-security.html](https://www.elastic.co/guide/en/x-pack/current/xpack-security.html)

---

<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:** [January 18, 2017, 11:05pm UTC](https://discuss.elastic.co/t/bitbucket-to-elasticsearch-configuration-using-ssl/69684/3 "2017-01-18T23:05:56Z")

</div>

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