Bugzilla – Bug 1223586
windows:mingw:win{32|64}/mingw{32|64}-curl: error setting certificate verify location
Last modified: 2024-04-30 13:41:36 UTC
Executing curl.exe from the mingw64-curl package under native Windows returns the following error message: curl: (77) error setting certificate verify locations: CAfile: /usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/certs/ca-bundle.crt CApath: none
(In reply to Ralf Habacker from comment #0) > Executing curl.exe from the mingw64-curl package under native Windows > returns the following error message: > > curl: (77) error setting certificate verify locations: CAfile: > /usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/certs/ca-bundle.crt > CApath: none There are two problems with this file: The file is not installed, and it is expected in a hardcoded location. The real path should be determined relative to the location of the shared libcurl-4.dll file, as the installation path at runtime may differ from the path at build time.