terry_low's avatar

Homestead SSL

Hi, i just found, homestead does has a SSL support out of the box if we provide ssl:true option to Homestead.yaml, i have checked ssl certs are generated and assigned correctly, but still cant connect to https://yourdev.app

is there any extra works need to be done ? thx

Box: 1.0.1 Homestead : 4.0.3 OS: WIndows 10, Virtualbox

0 likes
11 replies
svpernova09's avatar

I would have to see your Homestead.yaml, and full vagrant up output be much more help.

svpernova09's avatar

@terry_low

Map each site as it's own folder in your folder's mapping.

folders:
    - map: F:/Php/Laravel/homestead.app
      to: /home/vagrant/homestead.app
    - map: F:/Php/Laravel/runner.app
      to: /home/vagrant/runner.app

sites:
    - map: homestead.app
      to: /home/vagrant/homestead.app/public
    - map: runner.app
      to: /home/vagrant/runner.app/public     
terry_low's avatar

it still doesnt works, btw i found that, once i change my hosts file and point to 127.0.0.1 homestead.app and ssl will works, but will not works with 192.168.10.10 homestead.app

1 like
Cronix's avatar

@alexagui I don't think that will help. Google owns the .app TLD, and a few months ago they started forcing Chrome to use https on all .app domans.

In addition to the expected demand, Google is requiring HTTPS for all. app websites. This built-in security protects against ad malware, tracking injection by internet service providers, and safeguards against spying on open Wi-Fi networks, the company explains.

https://techcrunch.com/2018/05/01/google-is-launching-app-domains-the-first-tlds-secured-with-built-in-https/

Use .test for your TLD's.

Please or to participate in this conversation.