curl strange error
| From: | Stain | Date: | Wed, 12 Feb 2003 09:57:20 +0000 |
| Subject: | curl strange error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-135283@lists.php.net to get a copy of this message | ||
hi all
i use latest apache (1.3.27) with php 4.3.0 + curl 7.10.3
i use php curl function to connect to a remote SSL-ed web server. the
code is as follow:
<code>
$ch = curl_init();
$url = 'https://www.example.com/cgi.ext';
curl_setopt ($ch, CURLOPT_URL, $url);
echo '<pre>';
curl_exec ($ch);
echo '</pre>';
if (curl_error($ch))
printf("Error %s: %s", curl_errno($ch), curl_error($ch));
curl_close ($ch);
</code>
the output is:
Error 35: SSL: error:14090086:lib(20):func(144):reason(134)
error 35 is (from php manual):
CURLE_SSL_CONNECT_ERROR, /* 35 - wrong when connecting with SSL */
but i don't know how to futher debug it.
any hint? is that a bug?
bye, stain.