PHP - SSL certificate error: unable to get local issuer certificate

前端 未结 16 2811
时光取名叫无心
时光取名叫无心 2020-11-21 07:49

I\'m running PHP Version 5.6.3 as part of XAMPP on Windows 7.

When I try to use the Mandrill API, I\'m getting the following error:

Uncaught e

16条回答
  •  一个人的身影
    2020-11-21 08:12

    I had the same issue during building my app in AppVeyor.

    • Download https://curl.haxx.se/ca/cacert.pem to c:\php
    • Enable openssl echo extension=php_openssl.dll >> c:\php\php.ini
    • Locate certificateecho curl.cainfo=c:\php\cacert.pem >> c:\php\php.ini

提交回复
热议问题