On Sun, Nov 23, 2008 at 6:49 PM, Matthew Peters <[EMAIL PROTECTED]> wrote: > > OK so that's useful information and makes sense. How would you go > about connecting to an https URL from PHP? I have never tried it. Is > there a way to give the userid and password to the file wrapper? > > Matthew
For this specific case I need to get it via cURL, where I can specify the cert: curl_setopt($res_curl, CURLOPT_SSL_VERIFYPEER, 1); curl_setopt($res_curl, CURLOPT_SSLCERT, "/path/to/cert.crt"); or, like I resolved, using the SoapClient, but it was a pain to convert all XSD types into classes. I'd love to be able to use SCA_SDO with cases like these, so count on me to try to get this thing working with SCA. I wonder if there is any way to specify the certificate to PHP somewhere else, so it would work with fopen() as well. Silvano > On 20 Nov, 20:44, "Silvano Girardi Jr" <[EMAIL PROTECTED]> wrote: >> Nope. >> >> "failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden" >> >> Because it requires the certificate as well. >> >> Silvano > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "phpsoa" group. To post to this group, send email to phpsoa@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en -~----------~----~----~----~------~----~------~--~---