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

curl-and-php

cURL Error.

From: Miguel A. Ruz <maruz_at_mediafusion.es>
Date: Fri, 12 Nov 2004 13:27:31 +0100

 

Hi ˇˇ

 

I´m developing a php application with soap and https connection

 

 

require_once('SOAP/Client.php');

 

$soapclient = new SOAP_Client("https://server");

$soapclient->setOpt('curl', CURLOPT_VERBOSE, 1);

$soapclient->setOpt('curl', CURLOPT_SSL_VERIFYHOST, 1);

$soapclient->setOpt('curl', CURLOPT_SSL_VERIFYPEER, 1);

$soapclient->setOpt('curl', CURLOPT_SSLCERT, "./sslcert.pem");

$soapclient->setOpt('curl', CURLOPT_SSLKEY, "./sslkey.pem");

 

 

 

I haven´t information about this

 

 

$soapclient->setOpt('curl', CURLOPT_CAINFO, ".?????");

 

 

 

This is the error:

 

HTTP Error: cURL ERROR: 58: unable to use client certificate (no key found
or wrong pass phrase?)

 

 

 

Thanks so much.

 

Miguel.
Received on 2004-11-12