Setting up HTTPS locally can be a pain depending on your approach. Brad Touesnard writes on how to do this without getting annoying browser privacy errors. Brad walks through generating a self-signed certificate on the command line, then installing and activating it.