curl-library
Re: SSL sample
Date: Thu, 2 Oct 2003 15:11:11 -0700
> Subject: Re: SSL sample
> On Wed, Oct 01, 2003 at 03:43:59PM -0700, Jerry G. Chiuan wrote:
>
> > how can I totally turn off verification on client side against server
> > certificate?
>
> This does it for me:
>
> /* Dont check if peer name in certificate is OK */
> curl_easy_setopt(req->curl, CURLOPT_SSL_VERIFYPEER, 0);
> curl_easy_setopt(req->curl, CURLOPT_SSL_VERIFYHOST, 0);
Hi,
I never put them both at a time : )
I thought we only need this line only:
curl_easy_setopt(req->curl, CURLOPT_SSL_VERIFYPEER, 0);
thanks Henrik, it works now
- Jerry
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-10-05