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

前端 未结 16 2810
时光取名叫无心
时光取名叫无心 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 07:54

    When you view the http://curl.haxx.se/docs/caextract.html page, you will notice in big letters a section called:

    RSA-1024 removed

    Read it, then download the version of the certificates that includes the 'RSA-1024' certificates. https://github.com/bagder/ca-bundle/blob/e9175fec5d0c4d42de24ed6d84a06d504d5e5a09/ca-bundle.crt

    Those will work with Mandrill.

    Disabling SSL is a bad idea.

提交回复
热议问题