cURL / Mailing Lists / curl-users / Single Mail

curl-users

(no subject)

From: Manuel Reyes <Manuel.Reyes_at_e-mis.com>
Date: Fri, 29 Jul 2005 13:34:59 +0100

Hello List,

I am currently trying to replicate the following curl command:

curl --url https://myserver.com -E pempkcs12.pem

Using the LibCurl .NET libraries available from here:

http://sourceforge.net/projects/libcurl-net

I am currently setting the following options:

easy.SetOpt(CURLoption.CURLOPT_CAINFO, "curl-ca-bundle.crt");
easy.SetOpt(CURLoption.CURLOPT_SSLCERT, certData);
easy.SetOpt(CURLoption.CURLOPT_SSLCERTPASSWD, "certpass");
easy.SetOpt(CURLoption.CURLOPT_URL, "https://myserver.com/endpoint/");

When I run the application I get no reply, but I don't get any errors
either.

The certData variable is read in from the same file as the command line
given above, the cert bundle is the same bundle that the command line
uses (the default bundle with the LibCurl.dll)

I am certain that my assembly setup etc is correct as if I change the
code to use http instead it works fine.

Can anybody guide me in direction of getting this to work?

Thanks in advance
Manuel

p.s. One other thing that I am curious about, in the SSL example given
in the LibCurl.NET project it set the following curl parameter:
Received on 2005-07-29