XAMPP - CURL SSL Setup


To fix the SSL certificate error message “SSL certificate error: unable to get local issuer certificate” try this:

[curl]
; A default value for the CURLOPT_CAINFO option.
; This must be an absolute path.
curl.cainfo="C:\xampp\php\extras\ssl\cacert.pem"
openssl.cafile="C:\xampp\php\extras\ssl\cacert.pem"
Daniel Opitz

Daniel Opitz

Developer, Trainer & Open Source Contributor. Passionate about PHP, Slim Framework, and clean code.

Comments

↑ Back to Blog