Our SSL setup works, but we need to do a little housekeeping to wrap everything up.
The generated certificates are dependent on your per-machine Mkcert installation. Because of this, we’ll want to ensure these files are ignored by Git:
# .gitignore
/localhost-key.pem
/localhost.pem
/public/rootCA.pem
Once this is done, bin/setup
will consistently handle SSL setup for the project without adding unnecessary files to version control.
With SSL fully automated, we’re ready to move on to setting up notifications for our application.