RE: CA problems with WSDL service over SSL (PEAR::SOAP)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David,

Thanks for the reply.  I tried that out and the result follows:

curl_exec error 51 SSL: certificate subject name
'www.digitalwell.washington.edu' does not match target host name
'digitalwell.washington.edu'

I assume that this means that the administrators of the servics have made
errors in the creation of their CA cert.  I guess I should talk to them.
Is there any other option for me to follow up with?

Thanks again,

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
*******************************


On Mon, 8 Mar 2004, Viner, David wrote:

> 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:  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
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux