# How to Configure Elastic Transport Client for trusted certificates?

**URL:** <https://discuss.elastic.co/t/how-to-configure-elastic-transport-client-for-trusted-certificates/45600>\
**Category:** Elasticsearch\
**Created:** [March 28, 2016, 3:33pm UTC](https://discuss.elastic.co/t/how-to-configure-elastic-transport-client-for-trusted-certificates/45600 "2016-03-28T15:33:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yana2301](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yana2301/32/133248_2.png) [@yana2301](https://discuss.elastic.co/u/yana2301)\
**Post date:** [March 28, 2016, 3:33pm UTC](https://discuss.elastic.co/t/how-to-configure-elastic-transport-client-for-trusted-certificates/45600/1 "2016-03-28T15:33:21Z")

</div>

Hi All,  
I'm trying to connect to elastic server secured that requires ssl  
connection.I'm using transport client. According to elastic documentation

[https://www.elastic.co/guide/en/shield/current/\_using\_elasticsearch\_java\_clients\_with\_shield.html](https://www.elastic.co/guide/en/shield/current/_using_elasticsearch_java_clients_with_shield.html)

if I set ssl to true, I have to pass path\_to\_keystore param to transport  
client.

So my question is , If server has trusted certificate that is accepted  
automatically by browsers -- do I still need to pass path to keystore when  
create transport client?

Thanks,  
Iana

---

<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, 11:04pm UTC](https://discuss.elastic.co/t/how-to-configure-elastic-transport-client-for-trusted-certificates/45600/2 "2017-07-05T23:04:39Z")

</div>

Closed on July 5, 2017, 11:04pm UTC


