cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Does libcurl 7.18.2 support OpenSSL 1.0.0c?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 19 Jan 2011 13:01:55 +0100 (CET)

On Wed, 19 Jan 2011, valli.natarajan_at_emc.com wrote:

Please don't top-post!

> curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);

As I was kind of implying, and as I perhaps better spell out, setting only
CURLOPT_SSL_VERIFYPEER usually is not enough. That option verifies the cert's
authenticity using the trust chain. There's also the CURLOPT_SSL_VERIFYHOST
option.

If you run "curl --libcurl example.c -k https://example.com" you'll see in the
generated example code what curl does.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-19