To fix the above exception you should add the valet certificate to the end of the openssl cert.pem file:
cat ~/.config/valet/CA/LaravelValetCASelfSigned.pem >> /usr/local/etc/ca-certificates/cert.pem
You can find the cert.pem location running this dd(openssl_get_cert_locations());
anywhere in the Laravel app.
Top comments (4)
Genius!! Thank you π
In "pusher/pusher-php-server": "~5.0" and above version curl_options is ignored, Guzzle Client is used instead of curl.
This is a life saving! Thank you very much
Thank you! Been struggling with this the entire day.