2015-01-14 20:05
 

在windows下运行composer却出现SSL报错:

 

E:\www>php -f composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev)
SSL certificate problem, verify that the CA cert is OK. Details: 
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed”

没有安装CA证书导致的!!!

CA证书下载地址:http://curl.haxx.se/docs/caextract.html

然后修改php.ini文件

openssl.cafile= D:/xampp/php-5.6/cacert.pem

 

相关文章:

  • 2021-09-04
  • 2021-10-13
  • 2021-10-06
  • 2021-06-24
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-07
  • 2021-12-07
  • 2021-06-04
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案