Generate self-signed SSL certificate during boot if one is not already present.