used php -r "print_r(openssl_get_cert_locations()) " to find out the default certfile-location (it's "C:\Program Files\Common Files\SSL"), also saved the cert-file thereĪll of this did not work, the error remains the same. moved the pem-file to different directories to make sure no Windows-permissions would make it inaccessible (I also set the file and it's directory to be accessible by all users just to make sure).edited php.ini and added the path of the cert-file for "curl.cainfo" as well as "openssl.cafile" (according to some posts that makes a difference, so I tried both), used the full path and quotes, like this: curl.cainfo="C:\Program Files\PHP\cacert.pem".Downloaded cacert.pem from or (no copy
0 Comments
Leave a Reply. |