I've been experimenting with trying to secure a Elasticsearch cluster with basic auth and TLS.

I've successfully been able to do that using Search-Guard. The problem occurs with the Couchbase XDCR to Elasticsearch.

I'm using a plugin called elasticsearch-transport-couchbase which perfectly fine without TLS and Basic Auth enabled on the Elasticsearch cluster. But when enabling that with Search-Guard I am not able to make that work.

As far as I can tell the issue lies with the elasticsearch-transport-couchbase plugin. This has also been discussed previously in some issues on their [Github repo](https://github.com/couchbaselabs/elasticsearch-transport-couchbase).

It is also the only plugin what I can find that can be used for XDCR from Couchbase.

I'm curious about other peoples experience with this. Is there anyone who have been in the same situation as I and been able to setup a XDCR from Couchbase to Elasticsearch with TLS?

Or perhaps there are some other more suitable tools that I can use that I have missed?