Add Laravel Valet certificate to Postman

Dan Sherwood

Add Laravel Valet certificate to Postman

Tools Development

When working with Postman on a local API served via Valet, you may run into the issue shown above, SSL Error: Unable to verify the first certificate, well worry not, as the solution is simple.

Step-by-step guide

  1. Open preferences inside postman

  2. Navigate to the ‘Certificates’ tab and turn 'CA Certificates' to 'On'

  3. Click 'Select File' next to where it says 'PEM File'

  4. Navigate to valets .pem certificate file

  5. et voilà!

This is how it should look after completing the steps above.

The .pem path is:

/Users/<YOUR-USERNAME>/.config/valet/CA/LaravelValetCASelfSigned.pem

 

Laravel Modules Book by David Carr

Help support the blog so that I can continue creating new content!

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2022 DC Blog. All code MIT license. All rights reserved.