I recently had trouble debugging bugsnag to my laravel project and it doesn't even show any errors while testing the code. Turns out, it was being thrown at the Guzzle client and tracing the issue here from bugsnag/bugsnag-laravel. Errors were logged at the PHP error_log which isn't visible on laravel loggers.
cURL error 60: SSL certificate problem: self signed certificate in certificate chain
Most of the solutions I found suggested disabling the SSL verification of Guzzle but I don't find this solution helpful for me. Instead, I updated my curl.cainfo in php.ini and downloaded the file from https://curl.se/docs/caextract.html. I then restarted my php service.
That solves the issue. I'm writing this here for other devs to see.
I recently had trouble debugging bugsnag to my laravel project and it doesn't even show any errors while testing the code. Turns out, it was being thrown at the Guzzle client and tracing the issue here from
bugsnag/bugsnag-laravel
. Errors were logged at the PHP error_log which isn't visible on laravel loggers.Most of the solutions I found suggested disabling the SSL verification of Guzzle but I don't find this solution helpful for me. Instead, I updated my
curl.cainfo
in php.ini and downloaded the file fromhttps://curl.se/docs/caextract.html
. I then restarted my php service.That solves the issue. I'm writing this here for other devs to see.