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

TrX's avatar
Level 2

Getting error when trying to send Mail (Laravel 5)

I'm getting the error when testing my application: cURL error 60: SSL certificate problem, verify that the CA cert is OK.

i already made a mailgun account and verified it and also followed https://laravel.com/docs/5.3/mail on how to set it up, i also ran the composer require guzzlehttp/guzzle to install guzzle, then ran composer update, but i am still getting the above error..... the site is already on an online server (i already updated .env and config files). I added the cacert.pem path in php.ini but php.ini is locally....how to make this work when the site is on the server??

Can anyone help please,and Thanks.

0 likes
3 replies
TrX's avatar
Level 2

I Updated the question with new better info.

TrX's avatar
Level 2

@tomi after some work, the mailing is working locally but i'm getting the above problem only when the website is online on a webserver... i edited php.ini locally to add cacert.pem to work.... but what should i do online ?because there is no php.ini to edit...

Please or to participate in this conversation.