Reason:
The reason for this problem is that curl.cainfo is not configured, which is located in php.ini.
Solution:
Since the reasons for the errors are stated, it is much easier to solve them, as follows:
1. Download cacert
Download address: https://curl.haxx.se/ca/cacert.pem
2. Modify php.ini and restart
curl.cainfo="real_path/cacert.pem"
matters needing attention:
Needs to be turned on php_curl、php_openSSL extension;