18.5. Enable SSL
Encryption and signing are done using SSL (they can also be done using SASL). To enable SSL, set the
transport
connection option to ssl
:
connection.setOption("transport", "ssl");
connection.setOption("transport", "ssl");