Hi all!

For a new project I have to put some data from the UserApp workflow to the Elasticsearch.
For this purposes I use REST Activity.
IDM 4.0.2.

When I use Elasticsearch via HTTP without authentication (I make tests on Elasticsearch 1.4.4), all works fine.
I send data to ES and I see it in appropriate ES index.

But when I try to use HTTPS with basic authentication (for Elasticsearch 5), it doesn't work. I properly fill Authorization Header, I put my ssl certificate into Trust Managers.
But REST activity shows in logs: "Workflow Error: javax.net.ssl.SSLException: Received fatal alert: unexpected_message".
And ES shows in logs that it receive just "plain" HTTP traffic, but not encrypted HTTPS traffic.

So looks like the REST Activity doesn't use TLS and doesn't encrypt outgoing data.
Or maybe there is an ssl protorol versions mismatch.

What can I do in this situation? How can I change the ssl/tls protocol version to use it in REST Activity?
Do you have several troubles with the REST Activity?