Allow to auto-generate self-signed SSL certificates

The setup is rather simple. Instead of a full-blown CA, a CSR is used to create the self-signed certificate.