Closed as not planned
Description
Currently, ElasticsearchContainerConnectionDetailsFactory only maps nodes
and that works with Elasticsearch 7. However, Elasticsearch 8 has security enabled by default and additional configuration is required.
This is an example using Elasticsearch 7 and this one using Elasticsearch 8. As you can see, with Elasticsearch 8 the SSLContext
is provided via a customizer
so the connection through https is successful.
You can find a draft proposal here. I tried to do it via ssl bundles by copying the http_ca.crt
from the container to the test resources directory but I couldn't set it up correctly.