cURL SSL unable to get local issuer certificate on Xampp
posted 2 years ago
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.