office-gobmx/linguistic
Michael Stahl 11f439b861 curl: mitigate migration to OpenSSL on Linux
The problem is that curl 8.3.0 removed the NSS backend, so we now
have no other choice than to use the bundled OpenSSL on Linux.

Currently any curl https connection fails with:

  CurlSession.cxx:963: curl_easy_perform failed: (60) SSL certificate problem: unable to get local issuer certificate

Apparently this requires manually telling curl which CA certificates to
trust; there is a configure flag --with-ca-bundle but that is useless as
it tries to load the file relative to whatever is the current working
directory, and also did i mention that there are at least 3 different
locations where a Linux system may store its system trusted CA
certificates because ALL ABOUT CHOICE.

So add a new header with an init function to try out various file
locations listed in this nice blog article and call it from way too many
places that independently use curl.

https://www.happyassassin.net/posts/2015/01/12/a-note-about-ssltls-trusted-certificate-stores-and-platforms/

TODO: perhaps bundle a cacert.pem as a fallback in case the system chose
to innovate by putting its certificates in yet another unexpected place

(regression from commit c2930ebff8)

Change-Id: Ibf1cc0069bc2ae011ecead9a4c2b455e94b01241
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158915
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-11-07 14:26:38 +01:00
..
inc
qa
source curl: mitigate migration to OpenSSL on Linux 2023-11-07 14:26:38 +01:00
workben
CppunitTest_linguistic_restprotocol.mk
IwyuFilter_linguistic.yaml
JunitTest_linguistic_complex.mk
JunitTest_linguistic_unoapi.mk
Library_lng.mk
Makefile
Module_linguistic.mk
README.md

Linguistics Components Manager

linguistic module handles the registered modules for spellchecker, hyphenator and thesaurus.