curl_exec error 60 SSL certificate problem
Wednesday, November 19th, 2008The problem :
=================
curl_exec error 60 SSL certificate problem
=================
This is mainly caused because the curl root certificates file does not contain the particular root certificate chain.The best method would be add the correct root certificate to the file obtained by running the command
curl-config –ca
or a quick dirty trick would be add the following line
===================
curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, [...]