Laravel certificate verification errors when sending TLS email
Solution 1:
Solution:
-
Download the cURL
cacert.pem
file -
Put the cacert.pem somewhere you like
-
Edit
php.ini
to reference this file location:
curl.cainfo = D:/Servers/php/sslfiles/cacert.pem
openssl.cafile = D:/Servers/php/sslfiles/cacert.pem
- Restart the web server