Open silvioprog opened 4 years ago
I believe that this has to do with the SSL backend being used, and not all SSL backends support custom certificates. If it works with the curl command line it may be compiled differently with a different backend perhaps? I believe we by default enable WinSSL (schannel) which IIRC doesn't support custom certificates.
Hi.
I have the following code that works like a charm on Linux using a P12 certificate:
however, when I try to use the same example on Windows, it raises the following error:
and I have been trying the following ways, but both fails:
and
it seems the library can't find the certificate location, maybe some encoding issue? I've tried the same code above in a C application and in cURL from command line and both worked like a charm.
TIA for any help!