Hey @vkronlein
This is what you are looking for I think: https://laravel.com/docs/master/requests#configuring-trusted-proxies
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm using Meilisearch and the Laravel Scout driver and have set up a Valet proxy from https://search.example.test to http://127.0.0.1:7700 and now I'm getting the obligatory curl SSL error:
cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://search.example.test/indexes/example_products/documents
I downloaded the cacert.pem file from haxx and moved it to /etc/ssl/certs, then updated my ini file and reloaded PHP.
I can now see clearly that I have it set:
Directive: curl.cainfo Local Value: /etc/ssl/certs/cacert.pem Master Value: /etc/ssl/certs/cacert.pem
Yet I'm still getting the error ... is there something else I need to do?
Thanks.
Please or to participate in this conversation.