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

--- Comment #26 from David Cook <[email protected]> ---
Okie dokes... trying out Koha 24.11 with OpenSearch 2.

If you edit "/usr/share/koha/lib/Koha/SearchEngine/Elasticsearch.pm" to have:
use Search::Elasticsearch::Role::Cxn;
$Search::Elasticsearch::Role::Cxn::PRODUCT_CHECK_VALUE = '';

That should be the only Koha code change that would be needed.

However, if you're using HTTPS and self-signed SSL certs, there's more
problems.

Search::Elasticsearch uses HTTP::Tiny for its requests, and in version 0.083 of
that library it changed the default of "verify_SSL" from false to true. 

To bypass this, you can add <cxn>LWP</cxn> to your <elasticsearch> block in
koha-conf.xml

Alternatively, if you want to stay with HTTP::Tiny, you can use this config in
your koha-conf.xml:

<handle_args><verify_SSL>0</verify_SSL></handle_args>

I don't love the way Search::Elasticsearch::Cxn::HTTPTiny is coded. Took a bit
of work to figure out that config option but oh well.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to