SSL certificate problem unable to get local issuer certificate解决办法

SSL certificate problem unable to get local issuer certificate 解决办法:

  1. 下载:ca-bundle.crt

  2. 将它放在自己的wamp或者xampp目录下,如 c:\wamp\ ca-bundle.crt

  3. 在Apache中开启mod_ssl ,在php.ini开启php_openssl.dll
  4. 在php.ini文件中添加ca-bundle.crt的文件路径,如:

    curl.cainfo="C:/wamp/ca-bundle.crt"
    openssl.cafile="C:/wamp/ca-bundle.crt"
    
  5. 重启Apache服务器

posted @ 2016-12-20 12:02  HalfWater  阅读(2630)  评论(0编辑  收藏  举报