Enable https to use a dynamically generated self-signed identity

Useful for encryption-only SSL modes.