> Michael Schlenker <[email protected]> hat am 20. Juli > 2018 um 15:42 geschrieben: > > > > Von: curl-library [mailto:[email protected]] Im Auftrag von > > Daniel Stenberg > > Gesendet: Freitag, 20. Juli 2018 14:48 > > An: Ivan Pilipenko <[email protected]>; libcurl development > > <[email protected]> > > Betreff: Re: libcurl with openSSL on windows x64 - no certificates? > > > > On Tue, 17 Jul 2018, Ivan Pilipenko wrote: > > > > > Is there any particular reason why setting CURLOPT_CAPATH to the same > > > directory the cacert.pem/ca-certificates.crt lies in didn't work for me? > > > > Our documentation (https://curl.haxx.se/libcurl/c/CURLOPT_CAPATH.html) > > says the option doesn't work at all on Windows. > > > Even if it worked, it would be the wrong option. > > You have a single CA file, not a directory with symlinks to the SHA1 hashes > of the certificates, > like the one openssl expects for the CAFILE option. > > You need CURLOPT_CAINFO. > > https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO.html > > Michael > The idea was to specify a directory where our clients could put their certificates in, instead of relying on us shipping an up-to-date cacert.pem file. Besides, if I specify CAPATH (if the option worked) it should also see the bundle if it is placed in that path. Or am I missing something?
-- Freundliche Grüße / Best regards Ivan Pilipenko --------------------------------------------------------- MATRIX VISION GmbH Ivan Pilipenko Entwicklung / Development Talstrasse 16 D-71570 Oppenweiler Tel: +49 7191 94 32 430 Fax: +49 7191 94 32 288 e-mail: [email protected] internet: www.matrix-vision.de ----------------------------------------------------------------- Upcoming Events: 06.-08. November: VISION, Stuttgart, Germany ----------------------------------------------------------------- MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Uwe Furtner ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
