cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: https client

From: Armel Asselin <asselin.armel_at_wanadoo.fr>
Date: Thu, 20 Jul 2006 19:20:22 +0200

yes, in doc/examples directory, https.c

note that to actually be able to connect you need to have a certificate file
(something like cacert.pem), there is one on libcurl site
(http://curl.haxx.se/docs/caextract.html) which is pretty complete and you
have to provide it with the option CURLOPT_CAINFO (path to the file).
Failing to provide the file will finish with an error telling that the
server cannot be trusted (for sure its certificate cannot be verified).

At least this is what I did (I'm somewhat a beginner).

HIH
Armel

----- Original Message -----
From: "Manuel D. Jiménez" <mjimenez_at_securitasdirect.es>
To: <curl-library_at_cool.haxx.se>
Sent: Thursday, July 20, 2006 6:52 PM
Subject: https client

> Hi,
>
> I am trying to use the curl library to build a client that just connects a
> HTTPS server, sends a GET request and receives the response. I think it is
> a
> very usual issue, so I think there must be an example that does it. Is
> there
> any?
>
> (I am using Win32. I compiled the library successfully and I am ready to
> use
> it)
>
> Thank you, and best regards,
>
> Manué
>
>
>
>
>
> Este mensaje se dirige exclusivamente a su destinatario.
> Puede contener información confidencial sometida a secreto profesional
> o cuya divulgación esté prohibida, en virtud de la legislación vigente.
> No está permitida su divulgación, copia o distribución a terceros sin la
> autorización previa y por escrito de Securitas Direct España. Si recibe
> este
> correo sin ser el destinatario del mismo, le rogamos proceda a su
> eliminación
> y lo ponga en conocimiento del emisor.
>
> This e-mail is intended exclusively for the individual or entity to which
> it is addressed. This e-mail may contain confidential or legally
> privileged information,
> which may not be disclosed under current legislation. Any form of
> disclosure, copying
> or distribution of this e-mail is strictly prohibited, save with written
> authorization
> from Securitas Direct España. If you receive this mail without being the
> addressee,
> we request you to proceed to its elimination and notify the issuer about
> it.
>
> ---------------------------------------------------------------------------------------
> Orange vous informe que cet e-mail a ete controle par l'anti-virus mail.
> Aucun virus connu a ce jour par nos services n'a ete detecte.
>
>
>
Received on 2006-07-20