How to setup HTTPS with Laravel Homestead
You probably noticed that you can’t use your website-example.dev with your Chrome, as it is reporting that your website is not secure.
Here is one quick but valuable trick.
Web Hosting Recommendation
Many people have asked me about the hosting I am using. To be honest I tried different hosting accounts from shared, VPS and dedicated. In case you want some really affordable hosting I recommend Bluehost. I am also hosting some of my Laravel projects right there on this $3.95 shared account and it works great.
Continue …
I am using Homestead 5 and by default homestead uses nginx to server your files. If you have a website-example.dev defined in your Homestead.yaml, then if you go in /etc/nginx/ssl/
you will find two files for your domain:
website-example.dev.key
website-example.dev.crt
website-example.dev.key
All you have to do is (if you are on Mac OS) is get this website website-example.dev.crt
inside your Keychain Access, and set to trust this certificate.