Caroline Maynard wrote:

> For the server I was using, I needed to add
>    CURLOPT_HTTPAUTH => CURLAUTH_BASIC
>    CURLOPT_USERPWD => "$user:$passwd"
>    CURLOPT_SSL_VERIFYPEER => false
> (though I should have used a more secure solution to the last of those). 

For the record, I did subsequently demonstrate that I could make this 
work by removing the setting above which turns off SSL_VERIFYPEER, and 
instead setting :
   CURLOPT_CAINFO => /path/to/my/cacert.pem

so that it checked the certificate rather than ignoring it.


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

Reply via email to