Exception caught on transport layer (es6.4.2)

When I use the ES/Hadoop API I don't specify the client's key and certificate, yet, it works with SSL/TLS enabled.
I don't understand why I would add parameters in the transport client if they are optional in another API ?
Please, correct me if I'm wrong so I can understand my mistake !

Again, thank you !