Hello,
how do I configure Hibernate Search to connect to an Opensearch node with self-signed certificates?
Thanks
Claudio
Hello,
how do I configure Hibernate Search to connect to an Opensearch node with self-signed certificates?
Thanks
Claudio
Hello,
I would say you will have to configure Java’s default SSLContext to accept your self-signed certificate, like you would for any other library: JSSE Reference Guide for Java SE
If that doesn’t work for some reason, you can always try configuring the Elasticsearch client in Hibernate Search and following this tutorial from the Elasticsearch documentation.
Thank you very much. This is exactly what I was looking for.
How can I include the HttpClientConfigurer in the Quarks Context?
It doesn’t seem possible at the moment. Maybe open a feature request on the Quarkus issue tracker?
In the meantime I suppose you can use the global SSL configuration. There’s an explanation here stating that the configuration is exactly the same in native mode and JVM mode, and this explains how to configure SSL in native mode.