We’re going to walk through setting up HTTPS for a local WordPress site within vagrant.
For this tutorial, we’ll pretend our domain is example.local
and that our site lives in ~/vagrant-local/www/example
. This entire process should only take a minute or two.
First, let’s use the openssl
command to create a key and certificate for our site.