Re: Question about cacert.pem on Windows with MinGW

2013-05-18 Thread Thomas Mayer
On 18.05.2013 18:50, Daniel Stenberg wrote: > On Fri, 17 May 2013, Thomas Mayer wrote: > >> It seems that using gnutls, curl_easy_setopt(curl_handle, >> CURLOPT_SSLCERT, common->cert_path); does not set the cert file: > > CURLOPT_SSLCERT is to set a client cert, while you seem to want to set > th

Re: Question about cacert.pem on Windows with MinGW

2013-05-18 Thread Daniel Stenberg
On Fri, 17 May 2013, Thomas Mayer wrote: It seems that using gnutls, curl_easy_setopt(curl_handle, CURLOPT_SSLCERT, common->cert_path); does not set the cert file: CURLOPT_SSLCERT is to set a client cert, while you seem to want to set the path to a CA cert. Correct? If you want to specify the

Re: Question about cacert.pem on Windows with MinGW

2013-05-17 Thread Thomas Mayer
Hello, I have used VERBOSE to get more info. On 14.05.2013 10:55, Daniel Stenberg wrote: > On Mon, 13 May 2013, Thomas Mayer wrote: > >> error code: CURLE_SSL_CACERT_BADFILE (77) It seems that using gnutls, curl_easy_setopt(curl_handle, CURLOPT_SSLCERT, common->cert_path); does not set the cert

Re: Question about cacert.pem on Windows with MinGW

2013-05-14 Thread Daniel Stenberg
On Mon, 13 May 2013, Thomas Mayer wrote: error code: CURLE_SSL_CACERT_BADFILE (77) ,,, error code: CURLE_SSL_CERTPROBLEM (58) ... but what error messages? Use VERBOSE to get to see more. There should be no particular problem to use such a PEM file on windows with either OpenSSL or GnuTLS

cacert.pem with MXE was: Question about cacert.pem on Windows with MinGW

2013-05-13 Thread Thomas Mayer
Hi, On 13.05.2013 23:05, Alan Wolfe wrote: > A dumb question, but just in case... did you build or download a > windows libcurl binaries that have SSL enabled? > > There are licensing issues around SSL support so some windows binaries > you can download don't have SSL enabled. I was not clear en

Re: Question about cacert.pem on Windows with MinGW

2013-05-13 Thread Alan Wolfe
A dumb question, but just in case... did you build or download a windows libcurl binaries that have SSL enabled? There are licensing issues around SSL support so some windows binaries you can download don't have SSL enabled. On Mon, May 13, 2013 at 1:13 PM, Thomas Mayer wrote: > Hello, > > I am

Question about cacert.pem on Windows with MinGW

2013-05-13 Thread Thomas Mayer
Hello, I am developping a library for Puredata to make RESTful web requests. Everything is working quite well with libcurl, but I have a problem using SSL secured requests in Windows. I am cross compiling libcurl on Linux using MXE, but I get SSL errors when setting the path to the cacert.pem fr