cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SSL certificate problem

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 9 May 2006 13:27:57 -0700

On Tue, May 09, 2006 at 09:09:41AM -0500, Mundy, Howard L. wrote:
> Could someone please advise me on how to resolve an SSL certificate problem?
> Installation of a new SSL certificate for one expiring has caused my curl_exec
> () call to fail with a curl error code of 35 (below). My cURL calls are issued
> out of PHP.

Chances are, the site has a new certificate that has been signed by a CA
that's not in the list curl knows about. You can use CURLOPT_SSL_VERIFYPEER
to completely disable that checking to make it work, but it's better if you
find what CA is used and add its certificate to the CA bundle used by curl.
See also http://curl.haxx.se/docs/sslcerts.html

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-05-09