This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes PHP and the fly likes cURL SSL unable to get local issuer certificate on Xampp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark "cURL SSL unable to get local issuer certificate on Xampp" Watch "cURL SSL unable to get local issuer certificate on Xampp" New topic
Author

cURL SSL unable to get local issuer certificate on Xampp

Matthew Snow
Ranch Hand

Joined: May 02, 2007
Posts: 82
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:


When you break the big rules, you get a lot of little rules.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cURL SSL unable to get local issuer certificate on Xampp