Re: SSL on windows question!
Date: Thu, 25 May 2006 01:13:26 +0200 (CEST)
On Wed, 24 May 2006, Wei Weng wrote:
> curl_easy_setopt(m_conn, CURLOPT_SSL_VERIFYPEER, 0);
> curl_easy_setopt(m_conn, CURLOPT_CAINFO, NULL);
> curl_easy_setopt(m_conn, CURLOPT_CAPATH, NULL);
> In the instructions/manpage, this should be sufficient to disable the
> verifying peer process. But I still get this error:
> SSL peer certificate was not ok.
Where does it say that is enough? That still makes libcurl verify the CN part
of the cert to make sure it matches the host name of the URL. Disable that
check too with CURLOPT_SSL_VERIFYHOST.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-05-25