找到php.ini 配置 [openssl] ; The location of a Certificate Authority (CA) file on the local filesystem ; to use when verifying the identity of SSL/TLS peers. Most users should ; not specify a value for this directive as PHP will attempt to use the ; OS-managed cert stores in its absence. If specified, this value may still ; be overridden on a per-stream basis via the "cafile" SSL stream context ; option.
openssl.cafile=E:\wamp64\cacert-2018-03-07.pem
下载地址 http://curl.haxx.se/ca/cacert.pem
转载请注明:谷谷点程序 » php composer openssl 证书问题