RE: [SOAP] CA problems with WSDL service over SSL (PEAR::SOAP)
| From: | Viner, David | Date: | Mon, 08 Mar 2004 19:51:39 +0000 |
| Subject: | RE: [SOAP] CA problems with WSDL service over SSL (PEAR::SOAP) | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1422@lists.php.net to get a copy of this message | ||
try
$client->setOpt('curl',CURLOPT_SSL_VERIFYPEER,0);
dave
-----Original Message-----
From: cristopher pierson ewing [mailto:cewing@u.washington.edu]
Sent: Monday, March 08, 2004 11:43 AM
To: soap@lists.php.net
Subject: [SOAP] CA problems with WSDL service over SSL (PEAR::SOAP)
I am a newcomer to SOAP. Just getting started trying to get a web service
to work for me. The particular service I'm trying to contact runs over
SSL, so the URL for their service begins with 'https://'.
I have managed to get at their WSDL and have generated a proxy
successfully (at least when I print out the results of
->generateProxyCode(); it looks more or less like what I'd expect. The
advertised services do seem to have corresponding functions in the proxy
class.
However, when I try to call one of the service functions, I get an error
message that reads "curl_exec error 60 SSL certificate problem, verify
that the CA cert is OK". I've also checked in my error_log to see what
PHP is reporting and I find the following for every time I load the page
with the php call to create a SOAP_WSDL:
PHP Warning: fread(): SSL: fatal protocol error in
/usr/local/php/lib/php/Net/Socket.php on line 243
Now, I know that when I try to connect via a browser to the website for
administration for this same service, I also get a message from my browser
telling me that the cert cannot be verified and asking if I want to
continue. If I answer 'yes' then I am let into the page and all works
just fine. Is there a way to do the same from within PHP::SOAP? Is this
something I need to take to the providers of the service? Any
suggestions?
Many thanks in advance!
Cris
********************************
Cris Ewing
CME and Telehealth Web Services
University of Washington
School of Medicine
Work Phone: (206) 685-9116
Home Phone: (206) 365-3413
E-mail: cewing@u.washington.edu
*******************************
--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php