Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

janmoes's avatar

cURL error 77: error setting certificate verify locations

Hey there,

I implied laravel mail in my latest project. But i'm getting this error:

cURL error 77: error setting certificate verify locations: CAfile: curl.cainfo = D:\wamp64\bin\php\php7.4.9\extras\ssl\cacert.pem CApath: none (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.mailgun.net/v3//messages.mime

I've already followed these steps: https://stackoverflow.com/questions/30240840/laravel-5-socialite-curl-error-77-error-setting-certificate-verify-locations

But it's not working. Does anyone know the problem?

0 likes
1 reply
abhijeet9920's avatar

Try using .crt files and restart apache. I think this will work

Please or to participate in this conversation.