Generate a self-signed cert when none is provided

The documentation suggested doing this manually, but this is better because it does it for you!
@PiPeep Shouldn't this file be much longer? This doesn't seem to be the complete file from `/usr/lib/ssl/openssl.cnf`, why's that?