I need to install a trusted certificate for Laravel Valet (For working locally), I've installed it on my live Ubuntu servers with no problems.
Example on how I installed on Ubuntu:
- Installed the certificate inside this location
/usr/local/share/ca-certificates/
- Then ran
sudo update-ca-certificates
sudo reboot
- Then it works a charm
Trying to do the same with Lavavel Valet on local
- Installed the certificate inside this location
Users/<user>/.config/valet/Certificates/
- Restart valet
- Doesn't work
Is there an equivalent of
update-ca-certificates
for MacOs or Valet?
I've also installed the certificate on the MacOs keychain with no luck.
Any suggestions?
If you run brew info openssl you will get a message with instructions like the following:
To add additional certificates, place .pem files in /usr/local/etc/[email protected]/certs
and run /usr/local/opt/[email protected]/bin/c_rehash I'm pretty sure this is essentially the same as the update-ca-certificates on Ubuntu.