curl-library
Re: SSL sample
From: Henrik Storner <henrik-curl_at_hswn.dk>
Date: Thu, 2 Oct 2003 07:36:41 +0200
Date: Thu, 2 Oct 2003 07:36:41 +0200
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);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-10-02