PHP - SSL certificate error unable to get local issuer certificate

0 votes

PHP 5.6.3 is being used by XAMPP on Windows 7 for me. I'm encountering the following problem while attempting to utilize the Mandrill API:

Uncaught exception 'Mandrill_HttpError' with message 'API call to messages/send-template failed: SSL certificate problem: unable to get local issuer certificate'

The following was added to the php.ini file, and I have already tried everything I read on StackOverflow:

curl.cainfo = "C:\xampp\php\cacert.pem"

And naturally downloaded the cacert.pem file from http://curl.haxx.se/docs/caextract.html to that directory.

XAMPP and Apache server were restarted after all of that, however, the issue remained. I'm not sure what else to attempt. Who can give me advice on what I should do next?

 

Jul 29, 2022 in PHP by Kithuzzz
• 38,000 points
1,521 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In PHP

0 votes
1 answer

Error:SSL certificate error: unable to get local issuer certificate

Hii, If you don't have access to php.ini, adding ...READ MORE

answered Apr 15, 2020 in PHP by Niroj
• 82,840 points
1,734 views
0 votes
1 answer

Error:Trying to get property of non-object in C:\wamp\www\ni\pages\init.php..

Hello, Try mysql_fetch_object(). It returns an object, not an ...READ MORE

answered Nov 19, 2020 in PHP by Niroj
• 82,840 points
4,703 views
0 votes
1 answer

Error: Global Variable is not accessable to local function

Hey kartik, A variable declared outside a function has a ...READ MORE

answered Feb 19, 2020 in PHP by Niroj
• 82,840 points
1,087 views
0 votes
1 answer

How to get the client IP address in PHP ?

Hello, Here is a code sample of a good ...READ MORE

answered Apr 8, 2020 in PHP by Niroj
• 82,840 points
6,969 views
0 votes
1 answer

How to get name of current directory using php?

Hello @kartik, To get only the name of ...READ MORE

answered Aug 27, 2020 in PHP by Niroj
• 82,840 points
4,685 views
–1 vote
1 answer
0 votes
2 answers

Using PHP to get all file names in a folder stored in HDFS

So i found a workaround for the ...READ MORE

answered Mar 13, 2019 in Big Data Hadoop by Bhavish
• 370 points

edited Mar 13, 2019 by Omkar 4,387 views
0 votes
0 answers
0 votes
0 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP