更新时间:2023-02-24 15:51:59
Curl在服务器上的单独位置使用CA证书,而不是台式机那样在系统的其余位置使用CA证书。我之前必须将CA证书安装到文件系统中。 PHP libcurl将使用命令行实用程序也使用的库。请参阅 http://curl.haxx.se/docs/sslcerts.html 。
Curl uses CA certificates in a separate location on the server than what the rest of the system, like a desktop would. I have had to install CA certificates into the filesystem before. PHP libcurl will use the libraries that the command line utility uses as well. Please see http://curl.haxx.se/docs/sslcerts.html.