And Error encountered while sending a curl request from php with ubuntu 7.10, curl installed from apt. Solution.

Hello,

I recently tried sending a curl request from https and got the following error:

. The request returned: error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none

To cure this simply type: sudo apt-get install ca-certificates
Hope this helps.

Tom