Generate a self-signed SSL cert on first-run and enforce SSL use, to ensure that all connections and credentials which use them are secure. Originally requested by @riker09.