Bug 1223586

Summary: windows:mingw:win{32|64}/mingw{32|64}-curl: error setting certificate verify location
Product: [openSUSE] openSUSE.org Reporter: Ralf Habacker <ralf.habacker>
Component: 3rd party softwareAssignee: Ralf Habacker <ralf.habacker>
Status: NEW --- QA Contact: E-mail List <screening-team-bugs>
Severity: Normal    
Priority: P5 - None CC: fridrich.strba, mkbosmans
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ralf Habacker 2024-04-30 11:45:53 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
Comment 1 Ralf Habacker 2024-04-30 11:55:59 UTC
(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.