Adds ability to generate self-signed SSL certificates

Provides the option to generate a self-signed certificate instead of using the ones provided in the data_bag.