VVV logo VVV

To use https:// URLs you need to generate certificates, luckily VVV has you covered.

Setting up the Certificate Authority

The tls-ca is provided by default as a utility under core.

If you have upgraded from older versions you might need to manually add it.

You can find it in your config/config.yml file:

utilities:
  core:
    - tls-ca

Then, reprovision vagrant reload --provision. When this finishes, every site using the custom-site-template or custom site-template-develop will have a certificate and support https.

Visit your site with https, and you’ll notice that the first time it loads, the browser will complain about an invalid certificate authority. Skip this screen, and it should never show again. This should happen for each new site. See the page on accepting a certificate authority to prevent this from happening.

Note: The wordpress-default template is deprecated, switch to custom-site-template or create an additional site using the custom site template.