UwAmp cURL error 60: SSL certificate problem

UwAmp cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

If you get the above error you may need to specify a certificate file in your PHP.INI which you can download from https://curl.haxx.se/ca/cacert.pem

Once downloaded edit your PHP.INI and set the following

[curl]
; A default value for the CURLOPT_CAINFO option.
; This is required to be an absolute path.
curl.cainfo = "C:\uwamp\bin\php\cacert.pem"

Add a Comment

Your email address will not be published. Required fields are marked *