curl: (77) error setting certificate verify locations:CAfile: /etc/pki/tls/certs/ca-bundle.crtCApath: none
If the target does not exist, run the sudo mkdir -p /etc/pki/tls/certs command
Run to copy the certificate to the intended target
Sudo cp /etc/ssl/certs/ca-certificates. CRT /etc/pki/tls/certs/ca-bundle. CRT For Windows:
Blog.csdn.net/ekey_code/a…
The reason for this problem is that you have not configured curl. Cainfo, which is in php.ini.
Solution:
Download the cacert. Pem curl. Haxx. Se/ca/cacert. P…
Php.ini [curl]; A default value for the CURLOPT_CAINFO option. This is required to be an ; Absolute path.curl. Cainfo = [Your absolute path]
If you find this article useful to you, please give our open source project star: github.crmeb.net/u/defu. Thank you very much!