❓ Support
J Josh May 24, 2023

[Localhost] - cURL error 60: SSL certificate problem

Hey!

Having an issue setting it up out of the box. (I am using Laragon locally) I have done the following steps;

composer create-project waterhole/waterhole path/to/forum
php artisan waterhole:install

I go to my localhost (http://waterhole.test/), click login, after i submit I see;

cURL error 60: SSL certificate problem: certificate has expired (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.waterhole.dev/v1/outpost

Here is the Flare stacktrace;
https://flareapp.io/share/NPGEXeO5#F66

Im digging into it and will update once I figure out in case I work it out before a reply!

⁨1⁩ ⁨Comment⁩

Answer

Issue is resolved, I had to download this file https://curl.haxx.se/ca/cacert.pem and put it in the php/extra/ssl folder which in the case of laragon is (laragon/etc/ssl/cacert.pem)

Then in the php.ini file to find the curl.cainfo and update the path

Works as intended now. I'll leave this thread incase anyone else comes across it via google! :)