[Koha-bugs] [Bug 33563] Document Elasticsearch secure mode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 2 02:16:33 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33563

--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
I've been setting up Elasticsearch 7 with a Koha and this is what I used:

 <!-- Elasticsearch Configuration -->
 <elasticsearch>
     <server>localhost:9200</server> <!-- may be repeated to include all
servers on your cluster -->
     <userinfo>elastic:CHANGEME</userinfo>
     <use_https>1</use_https>

The relevant bits above being "userinfo" and "use_https", and I found them by
looking at https://metacpan.org/pod/Search::Elasticsearch::Role::Cxn#node and
looking around the code a bit.

With Elasticsearch 7, to use basic auth you have to use HTTPS as well, but
that's a much more complicated topic. We could add commented out "userinfo" and
"use_https" elements in koha-conf.xml though to get people on the right track.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list