This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

cURL SSL unable to get local issuer certificate on Xampp  RSS feed

 
Matthew Snow
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm running Xampp 1.8.3 for windows (my machine is x64) which comes with PHP 5.5.3 included with cURL enabled by default. I've installed a fresh new copy and am trying to test a connection to mozilla.org over ssl with cURL using a .pem file I extracted from the site's certificate using FireFox 24. But I'm getting the error "unable to get local issuer certificate". Here is my code:



Here is the contents of the pem file:
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!