Try adding the line
curl_setopt($fp, CURLOPT_SSL_VERIFYPEER, false);
after the line
curl_setopt($fp, CURLOPT_HTTPHEADER, $headers2);
Related Articles
- Working with SSL at Development Time is easier with IISExpress (hanselman.com)
- Test the SSL site (berendjdejong.wordpress.com)
- Certificate errors on server (edugeek.net)
- StartSSL Installation (edugeek.net)
- Configure IIS Website with SSL (berendjdejong.wordpress.com)
- Exchange ssl cert up for renewal.. who to use? (edugeek.net)
Hy. I sincerely want to declare that what you give us here is really respectable information so I m going to post https://phpbugs.wordpress.com/2011/04/26/curl-error-60-ssl-certificate-problem on my Digg profile so all can have the chance to enjoy. I was glad when I saw this tittle, cURL ERROR: 60: SSL certificate problem Php Bugs, on my google search, and the reason is that finally I found what I was looking for. Thank you
LikeLike