File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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