Perpetual Newbie Posted April 24, 2023 Share Posted April 24, 2023 I keep getting an error in Laravel every time I try to make an HTTP request, even when using Guzzle. How can I fix this issue? Thank you! cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://example.com Link to comment Share on other sites More sharing options...
BigFoot Posted April 24, 2023 Share Posted April 24, 2023 cacert.pem is required for cURL to work properly with HTTPS. Download the latest version of cacert.pem Then add the absolute path to this file in your php.ini in the "curl.cainfo" option, like this: curl.cainfo = C:\php\cacert.pem If you need more information about this, you can find it at https://curl.se/docs/caextract.html Link to comment Share on other sites More sharing options...
Omnipresent Posted April 24, 2023 Share Posted April 24, 2023 Video solution for this problem: Link to comment Share on other sites More sharing options...
Recommended Posts