How to Configure Elastic Transport Client for trusted certificates?

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

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