Only generate private key and certificate request if ssl enabled.