I compiled the simple libcurl example program from the link below with mingw64 (MSYS2) on Windows 7 x64
https://curl.se/libcurl/c/simple.html
Unfortunately it gives me the error:
curl_easy_perform() failed: Problem with the SSL CA cert (path? access rights?)
I tried to reinstall the open ssl certificates in MSYS2 to no avail. Please keep in mind that I am a total noob with SSL and certificates! But I need to do an HTTPS request in C in a portable way so I was forced to use libcurl. I don't think there is anything wrong with my system, since 1. an https request sent using WinInet.h works perfectly 2. I can send https requests with the cUrl command without any issues.
PS. I apologize if there are similar topics here, but as far as I could see, none of them addresses the same problem in this specific scenario
Any idea ?