cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl and ssl/tls/https

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 21 Dec 2009 22:50:46 +0100 (CET)

On Mon, 21 Dec 2009, Joshua McCracken wrote:

> I am a little bit confused about the options I can set with
> curl_easy_setopts(), and precisely which ones I would need. Looking at the
> example code present here: http://curl.haxx.se/libcurl/c/simplessl.html
>
> hasn't helped much. Do I really need to specify all of these options?

Need? No. Can? Yes!

You don't _need_ a single extra option for https://, just set the URL and go.
You may want to set one or two still though.

> More than likely, I'm just not understanding what little documentation I can
> find on this subject.

Well, please ask specific questions about what's unclear. AFAIK, every single
libcurl option is documented pretty clearly.

You are expected to read up on SSL/TLS and HTTPS technical details elsewhere.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-21