# Connect on port 443 of ES from temporal container

**URL:** <https://community.temporal.io/t/connect-on-port-443-of-es-from-temporal-container/8390>\
**Category:** Community Support\
**Tags:** general-impl\
**Created:** [May 30, 2023, 2:01pm UTC](https://community.temporal.io/t/connect-on-port-443-of-es-from-temporal-container/8390 "2023-05-30T14:01:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iftekhar\_Khan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/iftekhar_khan/32/3841_2.png) [@Iftekhar\_Khan](https://community.temporal.io/u/Iftekhar_Khan)\
**Post date:** [May 30, 2023, 2:01pm UTC](https://community.temporal.io/t/connect-on-port-443-of-es-from-temporal-container/8390/1 "2023-05-30T14:01:58Z")

</div>

How can i connect from temporal server to ES using https protocol ?

Configured master credentials in ES for temporal server to connect to it.  
curl --fail --user “username”:“password” http://{opensearch\_instance\_endpoint}:443

Open Search allows only secure connection on port 443. But temporal is connecting using http protocol. any idea , how can i change it to use https ?

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [May 30, 2023, 7:15pm UTC](https://community.temporal.io/t/connect-on-port-443-of-es-from-temporal-container/8390/2 "2023-05-30T19:15:02Z")

</div>

Have you tried setting the “scheme” param to “https”? [temporal/config\_template.yaml at master · temporalio/temporal · GitHub](https://github.com/temporalio/temporal/blob/master/docker/config_template.yaml#L182)

---

<div class="post-metadata">

**Author:** ![Iftekhar\_Khan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/iftekhar_khan/32/3841_2.png) [@Iftekhar\_Khan](https://community.temporal.io/u/Iftekhar_Khan)\
**Post date:** [May 31, 2023, 4:18am UTC](https://community.temporal.io/t/connect-on-port-443-of-es-from-temporal-container/8390/3 "2023-05-31T04:18:49Z")

</div>

Thanks ! Adding schema prop worked for me.
