centos:

在php.ini中增加一行

1

openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt

  

重启服务器使修改生效

查看原文