Unable to get local issuer certificate Laravel WAMP error making life difficult? We have a solution.
At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Service.
Let’s take a look at how our Support Team recently helped a customer deal with “unable to get local issuer certificate error”.
What to do if you are unable to get local issuer certificate Laravel WAMP?
Have you come across the following error while attempting to use a Laravel API package that uses cURL?
Curl Error : SSL certificate problem: unable to get local issuer certificate
If the answer is yes, our Support Engineers have your back. This easy solution will work as long as you are running PHP version 7.1.9.
- First, we have to download and save the file at this link in the C:\wamp64\bin\php\php7.1.9 folder or the appropriate WAMP path.
- Next, we will edit the php.ini file. You can find the file either at C:\wamp64\bin\apache\apache2.4.27\bin or C:\wamp64\bin\php\php7.1.9 folder.
In other words, we can also open the file by clicking the WAMP icon in the server tray, then click on PHP and select php.ini.
- Then, we have to find the following line in the file:
;curl.cainfo
After finding the line, we will replace it with:
curl.cainfo = "C:\wamp614\bin\php\php7.1.9\cacert.pem"
Our Support Techs would like to remind you to remove the ; at the beginning of the line as well as the WAMP path.
- Finally, we have to restart by exiting and starting the WAMP server.
Following the above steps makes us avoid the “unable to get local issuer certificate Laravel WAMP” error. According to our skilled Support Team, we no longer have to deal with not being able to get the local issuer certificate.
[Looking for a solution to another query? We are just a click away.]
Conclusion
To conclude, the skilled Support Engineers at Bobcares demonstrated how to deal with unable to get local issuer certificate error.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments