Laravel Herd + SSL

For certain development, your browser will need to trust the self-signed certificate that Laravel Herd generates. 


  1. Open Keychain Access
  2. Go to the System item on the left and then the Certificates tab at the top.
    Navigate to ~/Library/Application Support/Herd/config/valet/CA in Finder.
  3. Drag LaravelValetCASelfSigned.pem into Keychain Access.
  4. Double-click the newly created entry in Keychain Access
  5. Expand the "Trust" section
  6. Change the top select menu to "Always Trust" and close the info page (it will prompt you for your system password to trust the certificate).

Herd does not currently auto-renew certificates, so if you've done all of this already (and restarted your browser) and you're getting a NET::ERR_CERT_DATE_INVALID error, navigate to ~/Library/Application Support/Herd/config/valet/CA and delete the LaravelValetCASelfSigned.pem file. 

After deleting this file, you need to secure your sites again by either running herd unsecure and herd secure in their folders or go to the Sites menu in Herd and secure it again.