Skip to content

Instantly share code, notes, and snippets.

@ROTGP
Forked from abdumu/howTo.txt
Created January 3, 2019 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ROTGP/d7c50a59b3dac3854f8d909815de53cc to your computer and use it in GitHub Desktop.
Save ROTGP/d7c50a59b3dac3854f8d909815de53cc to your computer and use it in GitHub Desktop.
"This connection is not private" + "Valet" + "iOS Simulator"
-1- edit ~/.composer/vendor/laravel/valet/cli/stubs/openssl.conf
Change:
basicConstraints = CA:FALSE
To:
basicConstraints = CA:TRUE,pathlen:0
save file.
-2- go to your website folder, run: valet secure
-3- drag ~/.valet/Certificates/[website.domain].crt to iOS simulator to add it there.
-4- From iOS simulator,
- go to Settings->about->Certificates Trust Settings
- Enable Full Trust for your website cert.
Enjoy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment