If you have an API and run it on Laravel Valet, you may get errors about SSL ceritifate when you do a call to the API.
An example error you may see:
- Network request failed: The certificate for this server is invalid. You might be connecting to a server that is pretending to be [your local domain] which could put your confidental information at risk.
How to Fix
-1- edit ~/.composer/vendor/laravel/valet/cli/stubs/openssl.conf Change: