cern-fts / davix

High-performance file management over WebDAV / HTTP
GNU Lesser General Public License v2.1
84 stars 36 forks source link

davix-ls fails to load certificates when using libcurl backend #116

Open amadio opened 7 months ago

amadio commented 7 months ago

How to reproduce:

$ DAVIX_USE_LIBCURL=0 davix-ls -l --capath /etc/grid-security/certificates https://eospublic.cern.ch/eos/opendata
drwxrwxrwx 0     7562585515445 2014-09-23 10:33:12 alice
drwxrwxrwx 0     92007886538244 2022-07-07 16:26:48 atlas
drwxrwxrwx 0     4850931684874635 2024-03-05 16:03:59 cms
drwxrwxrwx 0     649043319249 2018-03-27 13:52:10 jade
drwxrwxrwx 0     795342161701077 2022-08-12 16:35:45 lhcb
drwxrwxrwx 0     3846175059 2017-09-06 14:50:15 opera
drwxrwxrwx 0     73681874   2021-05-07 14:27:30 phenix
drwxrwxrwx 0     12         2024-03-26 11:10:09 test
drwxrwxrwx 0     0          2024-03-15 14:18:00 test2
drwxrwxrwx 0     0          2024-03-15 16:42:26 test3
drwxrwxrwx 0     46666641   2024-03-15 16:42:51 tmp
drwxrwxrwx 0     0          2023-08-21 09:09:19 totem
$ DAVIX_USE_LIBCURL=1 davix-ls -l --capath /etc/grid-security/certificates https://eospublic.cern.ch/eos/opendata
(Davix::HttpRequest) Error: Failed to load certificate
$ davix-ls --version
Version: 0.8.6
Runtime curl version: 8.7.1 OpenSSL/3.2.1
Compiled against curl 8.7.1