cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

SSL problem connecting to https

From: Felix Rabinovich <felix_at_rabinovich.org>
Date: Thu, 14 Aug 2003 21:05:20 -0700

I tried to connect to https sites (3 sites, actually) through libcurl-php and
I am getting error message

"SSL certificate problem, verify that the CA cert is OK".

I am using libcurl/7.10.5 OpenSSL/0.9.7b. Apache 2.0 and PHP 4.3.2. Curl (from
the command line) works fine - I can get data from the same sites with no
problem; and I can get data from http sites with no problem at all.

I tried different permutations of x and y (true, false) in

curl_setopt ($ch, CURL_SSL_VERIFYPEER, x);
curl_setopt ($ch, CURL_SSL_VERIFYHOST, y);

with no difference. Seems like I am missing something really simple...
Thanks
Felix

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-08-15