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

男娘i 2021-12-24 18:49 352阅读 0赞

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的文件路径,如:

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

转载于:https://www.cnblogs.com/sdgf/p/6202131.html

发表评论

表情:
评论列表 (有 0 条评论,352人围观)

还没有评论,来说两句吧...

相关阅读